aboutsummaryrefslogtreecommitdiff
path: root/src/app/input
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-30 23:58:02 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-31 00:02:08 +0300
commitbdc189e32e7c9dd61811fe17e50ac171ca94c647 (patch)
tree730e0e14d571e9bb693ad583b02e24622e4258d4 /src/app/input
parentfc4e1bbf6b0fa2ec37445a5b72356514c7c6be6a (diff)
feat: support custom command descriptions
refs #362
Diffstat (limited to 'src/app/input')
-rw-r--r--src/app/input/navigate.rs2
-rw-r--r--src/app/input/terminal.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/app/input/navigate.rs b/src/app/input/navigate.rs
index 6a7e8d7c..8d09c00a 100644
--- a/src/app/input/navigate.rs
+++ b/src/app/input/navigate.rs
@@ -1781,6 +1781,7 @@ last_pane = "prefix+tab"
label: "prefix+m".into(),
command,
action: crate::config::CustomCommandAction::Shell,
+ description: None,
}];
app.handle_key(TerminalKey::new(
@@ -1841,6 +1842,7 @@ last_pane = "prefix+tab"
label: "prefix+m".into(),
command,
action: crate::config::CustomCommandAction::Pane,
+ description: None,
}];
app.handle_key(TerminalKey::new(
diff --git a/src/app/input/terminal.rs b/src/app/input/terminal.rs
index 5447e2b0..401a981d 100644
--- a/src/app/input/terminal.rs
+++ b/src/app/input/terminal.rs
@@ -815,6 +815,7 @@ mod tests {
label: "ctrl+alt+g".into(),
command,
action: crate::config::CustomCommandAction::Shell,
+ description: None,
}];
app.handle_terminal_key(TerminalKey::new(
@@ -863,6 +864,7 @@ mod tests {
label: "ctrl+alt+g".into(),
command: "printf direct-pane".into(),
action: crate::config::CustomCommandAction::Pane,
+ description: None,
}];
app.handle_terminal_key(TerminalKey::new(