diff --git a/src/ui/chat/tree.rs b/src/ui/chat/tree.rs index f20771d..843e3f5 100644 --- a/src/ui/chat/tree.rs +++ b/src/ui/chat/tree.rs @@ -122,6 +122,11 @@ impl> InnerTreeViewState { self.correction = Some(Correction::MakeCursorVisible); Reaction::Handled } + KeyCode::Char('l') if event.modifiers == KeyModifiers::CONTROL => { + self.editor.clear(); + self.correction = Some(Correction::MakeCursorVisible); + Reaction::Handled + } _ => Reaction::NotHandled, } }