summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-13 04:36:45 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-13 04:36:45 -0500
commit4b6bf2141459caf628f952678bf886a18927d8d2 (patch)
tree97d32a314b2eac6fbe0aabf666bd838021c10bb3 /src/state.rs
parent153d4c4161fa8fba350dcc51ab14b08635c53e99 (diff)
downloadnbsh-4b6bf2141459caf628f952678bf886a18927d8d2.tar.gz
nbsh-4b6bf2141459caf628f952678bf886a18927d8d2.zip
highlight the focused entry
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index d6fb231..ff26a75 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -32,7 +32,7 @@ impl State {
self.history
.render(&mut self.output, self.readline.lines(), None)
.await?;
- self.readline.render(&mut self.output).await?;
+ self.readline.render(&mut self.output, true).await?;
}
Focus::History(idx) => {
self.history.render(&mut self.output, 0, Some(idx)).await?;