fix(shortcuts): reset input after shortcut replace cancellation

This commit is contained in:
hammerlink 2026-02-06 13:38:36 +01:00 committed by GitHub
parent 55b502dff3
commit e5f8731eb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,6 +48,7 @@ pub struct ShortcutBinding {
impl ShortcutBinding { impl ShortcutBinding {
pub fn reset(&mut self) { pub fn reset(&mut self) {
self.pending = self.binding.clone();
self.input = self.binding.to_string(); self.input = self.binding.to_string();
} }
} }