From d743b39a2b922aa9f7c4365a0b6e53a8be68b9e6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 17 May 2026 03:50:22 +0300 Subject: chore: rename fullscreen keybinding to zoom --- src/app/input/navigate.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/app/input/navigate.rs') diff --git a/src/app/input/navigate.rs b/src/app/input/navigate.rs index 798aafa8..9ab3de28 100644 --- a/src/app/input/navigate.rs +++ b/src/app/input/navigate.rs @@ -485,7 +485,7 @@ pub(crate) enum NavigateAction { SplitHorizontal, ClosePane, EditScrollback, - Fullscreen, + Zoom, EnterResizeMode, ToggleSidebar, ReloadConfig, @@ -609,8 +609,8 @@ fn navigate_action_for_key(state: &AppState, key: &KeyEvent) -> Option {} - NavigateAction::Fullscreen => { - state.toggle_fullscreen(); + NavigateAction::Zoom => { + state.toggle_zoom(); leave_navigate_mode(state); } NavigateAction::EnterResizeMode => state.mode = Mode::Resize, @@ -1192,11 +1192,11 @@ mod tests { } #[test] - fn fullscreen_action_exits_navigate_mode() { + fn zoom_action_exits_navigate_mode() { let mut state = state_with_workspaces(&["test"]); state.workspaces[0].test_split(Direction::Horizontal); - state.keybinds.fullscreen = (KeyCode::Char('g'), KeyModifiers::empty()); - state.keybinds.fullscreen_label = "g".into(); + state.keybinds.zoom = (KeyCode::Char('g'), KeyModifiers::empty()); + state.keybinds.zoom_label = "g".into(); handle_navigate_key( &mut state, -- cgit v1.2.3