aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-05-29 21:22:18 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-29 21:22:18 +0530
commit161d78c353dae7449e14f851de9ce4dcb91081de (patch)
tree4dd5a89903fa12a36e37eae28871cb6ac88022f0
parentdocs(changelog): Optional session name in attach #542 (diff)
downloadsl0ppij-161d78c353dae7449e14f851de9ce4dcb91081de.tar.gz
sl0ppij-161d78c353dae7449e14f851de9ce4dcb91081de.tar.xz
sl0ppij-161d78c353dae7449e14f851de9ce4dcb91081de.zip
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,