From a78ff323366b61f17628eebcb156b081d2f4504e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 17 Nov 2021 02:06:15 -0500 Subject: add some more data to the prompt --- src/history.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/history.rs') diff --git a/src/history.rs b/src/history.rs index 1136821..5bd377a 100644 --- a/src/history.rs +++ b/src/history.rs @@ -272,13 +272,15 @@ impl HistoryEntry { out.set_fgcolor(textmode::color::RED); } out.write_str(&crate::format::exit_status(info.status)); - out.reset_attributes(); } else { out.write_str(" "); } + out.reset_attributes(); if focused { out.set_fgcolor(textmode::color::BLACK); out.set_bgcolor(textmode::color::CYAN); + } else { + out.set_bgcolor(textmode::Color::Rgb(32, 32, 32)); } out.write_str("$ "); out.reset_attributes(); -- cgit v1.2.3-54-g00ecf