commit fe46373d3c1891059ceaf7b1f919c7eefee10223
parent 859b7150efb9e4ae7b0040a36a8e337f36062f48
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 23 Oct 2017 19:32:32 +0200
Add help about string search
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ui_ti.c b/ui_ti.c
@@ -110,6 +110,9 @@ help(Item *entry)
"End, " S(_key_end) ": move to end of the page.\n"
"Right, " S(_key_pgnext) ": view highlighted item.\n"
"Left, " S(_key_pgprev) ": view previous item.\n"
+ S(_key_search) ": search current page.\n"
+ S(_key_search_next) ": search string forward.\n"
+ S(_key_search_prev) ": search string backward.\n"
S(_key_uri) ": print item uri.\n"
S(_key_help) ": show this help.\n"
"^D, " S(_key_quit) ": exit sacc.\n"
diff --git a/ui_txt.c b/ui_txt.c
@@ -46,6 +46,7 @@ help(void)
"p: show previous page.\n"
"t: go to the top of the page\n"
"b: go to the bottom of the page\n"
+ "/foo: search for string \"foo\"\n"
"!: refetch failed item.\n"
"^D, q: quit.\n"
"h, ?: this help.");