Add "Clear scrollback" action

This commit is contained in:
Joel Höner 2024-09-15 23:53:13 +02:00 committed by Jeremy Soller
parent 29aa3b4027
commit 4beabca14d
6 changed files with 23 additions and 0 deletions

View file

@ -75,5 +75,8 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
bind!([Ctrl, Shift], Key::Named(Named::ArrowRight), PaneFocusRight);
bind!([Ctrl, Shift], Key::Character("L".into()), PaneFocusRight);
// CTRL+Alt+L clears the scrollback.
bind!([Ctrl, Alt], Key::Character("L".into()), ClearScrollback);
key_binds
}