From 129ed511615975ef9c290bdf32f544a5aa95629a Mon Sep 17 00:00:00 2001 From: dvkt Date: Thu, 19 Dec 2019 09:25:14 -0800 Subject: [PATCH] color tweak --- src/help.rs | 7 +------ src/ui.rs | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/help.rs b/src/help.rs index 609d2b4..77cc07c 100644 --- a/src/help.rs +++ b/src/help.rs @@ -27,11 +27,6 @@ iPress the # of a link to visit ior select it. Use ENTER to open ithe selected link. i -iJust start typing to select links. -i -1text mode shortcuts /text help -1menu mode shortcuts /menu help -i -1....some of my poetry /poetry help +iTo select a link, start typing. i "; diff --git a/src/ui.rs b/src/ui.rs index 20eaed9..2d859b2 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -320,8 +320,7 @@ pub fn prompt(prompt: &str) -> Option { pub fn status(s: &str) { let (_cols, rows) = termion::terminal_size().unwrap(); print!( - "{}{}{}{}{}", - "\x1b[93m", + "{}{}{}{}", termion::cursor::Goto(1, rows), termion::clear::CurrentLine, s,