diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-11-13 04:36:45 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-11-13 04:36:45 -0500 |
commit | 4b6bf2141459caf628f952678bf886a18927d8d2 (patch) | |
tree | 97d32a314b2eac6fbe0aabf666bd838021c10bb3 /src/state.rs | |
parent | 153d4c4161fa8fba350dcc51ab14b08635c53e99 (diff) | |
download | nbsh-4b6bf2141459caf628f952678bf886a18927d8d2.tar.gz nbsh-4b6bf2141459caf628f952678bf886a18927d8d2.zip |
highlight the focused entry
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 2 |
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?; |