Remove the '?' help key from the docs and help: F9 is the help key
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@ type view struct {
|
||||
onShow, onHide func()
|
||||
// hints lists the keys that work in this view (shown in the status bar).
|
||||
hints func() string
|
||||
// captureKeys makes the global single-key shortcuts (q, ?) stand back
|
||||
// captureKeys makes the global single-key shortcut (q) stands back
|
||||
// while this view is shown, because its fields take typed text.
|
||||
captureKeys bool
|
||||
}
|
||||
@@ -370,7 +370,7 @@ func (a *App) renderStatus() {
|
||||
if v.hints != nil {
|
||||
parts = append(parts, v.hints())
|
||||
}
|
||||
if v.captureKeys { // q and ? are text there
|
||||
if v.captureKeys { // q is text there
|
||||
parts = append(parts, "F9 help · F1-F7 views")
|
||||
} else {
|
||||
parts = append(parts, "F9 help · F1-F7 · q quit")
|
||||
|
||||
Reference in New Issue
Block a user