fix(shortcuts): reset input after shortcut replace cancellation
This commit is contained in:
parent
55b502dff3
commit
e5f8731eb2
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ pub struct ShortcutBinding {
|
|||
|
||||
impl ShortcutBinding {
|
||||
pub fn reset(&mut self) {
|
||||
self.pending = self.binding.clone();
|
||||
self.input = self.binding.to_string();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue