Commit 5ead68b
Eric Bower
·
2026-01-17 20:56:28 -0500 EST
parent 66f0a81
chore(tui): tokens text for Apple Terminal
1 files changed,
+3,
-3
+3,
-3
| ... | ... | @@ -268,7 +268,7 @@ func (m *AddTokenPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) { | |
| 268 | 268 | ah += int(btnSurf.Size.Height) | |
| 269 | 269 | } else { | |
| 270 | 270 | header := text.New( | |
| 271 | - | "After you exit this screen you will *not* be able to see it again. Use shift+click to select and copy text. If your terminal supports OSC52 then we will copy to your host clipboard upon exit of this screen.\n\n", | |
| 271 | + | "After you exit this screen you will *not* be able to see it again. Use shift+click to select and copy text. If you are using Apple Terminal you might need to enable Mouse Reporting in order to select token: View->Allow Mouse Reporting. If your terminal supports OSC52 then we will copy to your host clipboard upon exit of this screen.\n\n", | |
| 272 | 272 | ) | |
| 273 | 273 | headerSurf, _ := header.Draw(ctx) | |
| 274 | 274 | root.AddChild(0, ah, headerSurf) |
| ... | ... | @@ -283,8 +283,8 @@ func (m *AddTokenPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) { | |
| 283 | 283 | Characters: ctx.Characters, | |
| 284 | 284 | Max: vxfw.Size{Width: 4, Height: 1}, | |
| 285 | 285 | }) | |
| 286 | - | root.AddChild(0, ah, btnSurf) | |
| 287 | - | ah += int(btnSurf.Size.Height) | |
| 286 | + | root.AddChild(0, ah+1, btnSurf) | |
| 287 | + | ah += int(btnSurf.Size.Height) + 1 | |
| 288 | 288 | } | |
| 289 | 289 | ||
| 290 | 290 | if m.err != nil { |