spell out Enter for terminals with bad fonts (cmd)

This commit is contained in:
aoife cassidy 2025-02-28 18:27:11 -08:00
parent b5f44bd6c9
commit 4da8c423c0
No known key found for this signature in database
GPG Key ID: 7184AC1C9835CE48
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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}})
}
}