aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKunal Mohan <44079328+kunalmohan@users.noreply.github.com>2021-05-29 21:41:26 +0530
committerGitHub <noreply@github.com>2021-05-29 21:41:26 +0530
commitf88086ca67e305d4267817cd635f40b596e72e19 (patch)
tree3d36f0d0543e58364d0fe412075fb39e9af47540
parentMerge pull request #547 from riggs-/platform_build_fix (diff)
parentsession mode should be disabled in locked mode (diff)
downloadsl0ppij-f88086ca67e305d4267817cd635f40b596e72e19.tar.gz
sl0ppij-f88086ca67e305d4267817cd635f40b596e72e19.tar.xz
sl0ppij-f88086ca67e305d4267817cd635f40b596e72e19.zip
Merge pull request #548 from zellij-org/status-bar-fix
Session mode should be disabled in locked mode
-rw-r--r--default-plugins/status-bar/src/first_line.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/default-plugins/status-bar/src/first_line.rs b/default-plugins/status-bar/src/first_line.rs
index 7a678cdc..70633195 100644
--- a/default-plugins/status-bar/src/first_line.rs
+++ b/default-plugins/status-bar/src/first_line.rs
@@ -254,7 +254,7 @@ pub fn ctrl_keys(help: &ModeInfo, max_len: usize, separator: &str) -> LinePart {
CtrlKeyShortcut::new(CtrlKeyMode::Disabled, CtrlKeyAction::Tab),
CtrlKeyShortcut::new(CtrlKeyMode::Disabled, CtrlKeyAction::Resize),
CtrlKeyShortcut::new(CtrlKeyMode::Disabled, CtrlKeyAction::Scroll),
- CtrlKeyShortcut::new(CtrlKeyMode::Unselected, CtrlKeyAction::Session),
+ CtrlKeyShortcut::new(CtrlKeyMode::Disabled, CtrlKeyAction::Session),
CtrlKeyShortcut::new(CtrlKeyMode::Disabled, CtrlKeyAction::Quit),
],
colored_elements,