Minor fix

v0.5.13-bench v0.5.13
Arijit Basu 3 years ago
parent 0584a43c7c
commit 474c17b493
No known key found for this signature in database
GPG Key ID: 7D7BF809E7378863

@ -1937,7 +1937,7 @@ impl App {
}
fn switch_mode_custom(mut self, mode: &str) -> Result<Self> {
if let Some(mode) = self.config().modes().clone().get(mode) {
if let Some(mode) = self.config().modes().clone().get_custom(mode) {
self.input_buffer = None;
self.mode = mode
.to_owned()

Loading…
Cancel
Save