improve help text

master
Lukáš Hozda 4 years ago
parent 48ab7653e4
commit 3a0a3c3c1d

@ -657,7 +657,17 @@ impl BrowserState {
match line.chars().next() { match line.chars().next() {
Some('?') => { Some('?') => {
println!("? - help\n* - reload directory\n< - go back in history\n.[LINK] - download the given link\nH - show history\nH[LINK] - jump to the specified history item\nG[URI] - jump to the given gopher URI\nB - show bookmarks\nB[LINK] - jump to the specified bookmark item\nC^d - quit"); bunt::println!(
"{$yellow}?{/$} help\
\n{$yellow}*{/$} reload directory\
\n{$yellow}<{/$} go back in history\
\n{$yellow}.[LINK]{/$} download the given link\
\n{$yellow}H{/$} show history\
\n{$yellow}H[LINK]{/$} jump to the specified history item\
\n{$yellow}G[URI]{/$} jump to the given gopher URI\
\n{$yellow}B{/$} show bookmarks\
\n{$yellow}B[LINK]{/$} jump to the specified bookmark item\
\n{$yellow}C^d{/$} quit");
} }
Some('<') => { Some('<') => {
self.pop_history(); self.pop_history();

Loading…
Cancel
Save