From 4da8c423c0a93610d6ec442ff484701d2f8faa03 Mon Sep 17 00:00:00 2001 From: aoife cassidy Date: Fri, 28 Feb 2025 18:27:11 -0800 Subject: [PATCH] spell out Enter for terminals with bad fonts (cmd) --- app/help.go | 2 +- app/introduction.go | 2 +- app/settings.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/help.go b/app/help.go index 364d473..6deebde 100644 --- a/app/help.go +++ b/app/help.go @@ -31,7 +31,7 @@ func (view *Help) Event(state *ui.State, event vaxis.Event) (processed bool) { vaxis.Segment{Text: "town mail", Style: vaxis.Style{Foreground: vaxis.IndexColor(3)}}, vaxis.Segment{Text: ` to see who it's from :) -press ↲ to quit to a shell! +press Enter to quit to a shell! `}, ) return diff --git a/app/introduction.go b/app/introduction.go index 150039a..3c2db7c 100644 --- a/app/introduction.go +++ b/app/introduction.go @@ -24,6 +24,6 @@ func (view *Introduction) Event(state *ui.State, event vaxis.Event) (processed b this short tutorial will help you get accustomed to the terminal — the text-based user interface that you will do most of your interacting with town on. if you're here, this means you've successfully connected to town over ssh — good job! you can handle the rest. i believe in you <3 -press ↲ to continue to the next page. if you know what you're doing, you can press Ctrl+c or Ctrl+d at any point to exit to a shell.`}) +press Enter to continue to the next page. if you know what you're doing, you can press Ctrl+C or Ctrl+D at any point to exit to a shell.`}) return } diff --git a/app/settings.go b/app/settings.go index cd206da..a1a40ce 100644 --- a/app/settings.go +++ b/app/settings.go @@ -151,7 +151,7 @@ it should look something like America/New_York. view.inputs[2].Draw(vaxis.Window{win.Vx, &win, 5, h, int(math.Min(73.0, float64(win.Width)-7)), 1}) win.SetStyle(3, h, vaxis.Style{Attribute: vaxis.AttrReverse}) case 4: - win.Wrap(vaxis.Segment{Text: " press ↲ to continue ", Style: vaxis.Style{Attribute: enterStyle}}) + win.Wrap(vaxis.Segment{Text: " press Enter to continue ", Style: vaxis.Style{Attribute: enterStyle}}) } }