1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 12:15:43 +03:00
The status line is really short on space, so I prefer using `/` rather than `or` since it's shorter.
This commit is contained in:
Johan Walles 2022-12-19 09:21:12 +01:00 committed by GitHub
parent b16aea6aa6
commit b4c5d3f874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,9 @@ func (p *Pager) redraw(spinner string) {
p.addGotoLineFooter()
case _Viewing:
helpText := "Press 'ESC' or 'q' to exit, '/' to search, '?' for help"
helpText := "Press 'ESC' / 'q' to exit, '/' to search, '?' for help"
if p.isShowingHelp {
helpText = "Press 'ESC' or 'q' to exit help, '/' to search"
helpText = "Press 'ESC' / 'q' to exit help, '/' to search"
}
if p.ShowStatusBar {