aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/actions.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-19 14:47:18 +0300
committerGitHub <noreply@github.com>2026-09-19 14:47:18 +0300
commitcc7c696cd0772e466da403eb4e3f00f4e8d8ae1e (patch)
treed8325f7f2fb1ac53613ae56e8215042e6d497dd9 /src/client/shell/actions.rs
parent3f2a6e743f67bc947cfa06be25df106d00b9ee11 (diff)
feat: add configurable pane screen and scrollback clearing (#4383)
Diffstat (limited to 'src/client/shell/actions.rs')
-rw-r--r--src/client/shell/actions.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/shell/actions.rs b/src/client/shell/actions.rs
index 12d8cc16..e3885626 100644
--- a/src/client/shell/actions.rs
+++ b/src/client/shell/actions.rs
@@ -1064,6 +1064,9 @@ impl ClientShellState {
pane_id: focused_pane,
mode: PaneZoomMode::Toggle,
})),
+ KeybindAction::ClearPane => Some(Method::PaneClear(PaneTarget {
+ pane_id: focused_pane?,
+ })),
KeybindAction::EditScrollback => Some(Method::PaneEditScrollback(PaneTarget {
pane_id: focused_pane?,
})),