docs(tui): include auto refresh in controls
This commit is contained in:
parent
e0cbbc43d7
commit
5da91640e6
@ -180,6 +180,7 @@ func ControlsHelp() string {
|
||||
o open selected URL
|
||||
c copy selected URL
|
||||
wheel or j/k scroll focused pane
|
||||
auto-refresh pick up archive changes every 15s when available
|
||||
? in-app help
|
||||
q quit`)
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@ func TestBrowseJSONEncodesNilRowsAsEmptyArray(t *testing.T) {
|
||||
|
||||
func TestControlsHelpDocumentsGitcrawlLikeActions(t *testing.T) {
|
||||
help := ControlsHelp()
|
||||
for _, want := range []string{"right-click", "a", "m", "s", "S", "/", "#", "v", "d", "l", "o", "c", "q"} {
|
||||
for _, want := range []string{"right-click", "a", "m", "s", "S", "/", "#", "v", "d", "l", "r", "auto-refresh", "o", "c", "q"} {
|
||||
if !strings.Contains(help, want) {
|
||||
t.Fatalf("controls help missing %q:\n%s", want, help)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user