diff options
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index d80662d7..353d79cc 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -691,7 +691,7 @@ pub fn command_mode(cx: &mut Context) { match *parts.as_slice() { ["q"] | ["quit"] => { - editor.tree.remove(editor.view().id); + editor.close(editor.view().id, executor); // editor.should_close = true, } ["o", path] | ["open", path] => { |