- commit
- 5ead68b
- parent
- 66f0a81
- author
- Eric Bower
- date
- 2026-01-17 20:56:28 -0500 EST
chore(tui): tokens text for Apple Terminal
1 files changed,
+3,
-3
+3,
-3
1@@ -268,7 +268,7 @@ func (m *AddTokenPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) {
2 ah += int(btnSurf.Size.Height)
3 } else {
4 header := text.New(
5- "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",
6+ "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",
7 )
8 headerSurf, _ := header.Draw(ctx)
9 root.AddChild(0, ah, headerSurf)
10@@ -283,8 +283,8 @@ func (m *AddTokenPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) {
11 Characters: ctx.Characters,
12 Max: vxfw.Size{Width: 4, Height: 1},
13 })
14- root.AddChild(0, ah, btnSurf)
15- ah += int(btnSurf.Size.Height)
16+ root.AddChild(0, ah+1, btnSurf)
17+ ah += int(btnSurf.Size.Height) + 1
18 }
19
20 if m.err != nil {