diff --git a/src/main.rs b/src/main.rs index 51e1436..971e778 100644 --- a/src/main.rs +++ b/src/main.rs @@ -657,7 +657,17 @@ impl BrowserState { match line.chars().next() { 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('<') => { self.pop_history();