ui: add paste input in StatusBar

embed
Manos Pitsidianakis 5 years ago
parent 1328f994f3
commit f72fb069fa
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -992,6 +992,12 @@ impl Component for StatusBar {
.process_event(&mut UIEvent::InsertInput(Key::Char(*c)), context);
return true;
}
UIEvent::ExInput(Key::Paste(s)) => {
self.dirty = true;
self.ex_buffer
.process_event(&mut UIEvent::InsertInput(Key::Paste(s.clone())), context);
return true;
}
UIEvent::ExInput(Key::Ctrl('u')) => {
self.dirty = true;
self.ex_buffer.clear();

Loading…
Cancel
Save