diff options
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 8aff8035..e65144f4 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -558,7 +558,10 @@ pub fn command_mode(cx: &mut Context) { let parts = input.split_ascii_whitespace().collect::<Vec<&str>>(); match *parts.as_slice() { - ["q"] => editor.should_close = true, + ["q"] => { + editor.tree.remove(editor.view().id); + // editor.should_close = true, + } ["o", path] => { editor.open(path.into(), executor); } |