summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs
index b97249e..67a29e8 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -73,6 +73,12 @@ impl State {
textmode::Key::Ctrl(b'e') => {
ret = false; // fall through and handle normally
}
+ textmode::Key::Char('f') => {
+ if let Focus::History(idx) = self.focus {
+ self.history.toggle_fullscreen(idx).await;
+ self.render().await.unwrap();
+ }
+ }
textmode::Key::Char('j') => {
let new_focus = match self.focus {
Focus::History(idx) => {