summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index 8271cec..6f17e95 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -36,7 +36,8 @@ impl State {
self.readline.render(out, true).await?;
}
Focus::History(idx) => {
- if self.hide_readline {
+ if self.hide_readline || self.history.is_fullscreen(idx).await
+ {
self.history.render(out, 0, Some(idx)).await?;
} else {
self.history