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) {
268268 ah += int(btnSurf.Size.Height)
269269 } else {
270270 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",
272272 )
273273 headerSurf, _ := header.Draw(ctx)
274274 root.AddChild(0, ah, headerSurf)
......@@ -283,8 +283,8 @@ func (m *AddTokenPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) {
283283 Characters: ctx.Characters,
284284 Max: vxfw.Size{Width: 4, Height: 1},
285285 })
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
288288 }
289289
290290 if m.err != nil {