From 41e41cd10b7f140a45dd2f678ea028f40f40243b Mon Sep 17 00:00:00 2001 From: Peter Bartyik Date: Mon, 13 Jul 2020 16:20:15 +0200 Subject: [PATCH] remove brackets from contrast --- src/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.rs b/src/view.rs index 8416959..a2b2e0b 100644 --- a/src/view.rs +++ b/src/view.rs @@ -89,7 +89,7 @@ impl<'a> View<'a> { let clean = line.trim_end_matches(|c: char| c.is_whitespace()); if !clean.is_empty() { - let text = self.make_hint_text(line); + let text = line.to_string(); print!("{goto}{text}", goto = cursor::Goto(1, index as u16 + 1), text = &text); }