diff options
author | Blaž Hrastnik | 2021-11-15 15:37:30 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-11-15 15:37:30 +0000 |
commit | dd98727bad2c727c0cf862dc95525a2fec16b10d (patch) | |
tree | 39133a74d83544c67211e77da70175e29146537a | |
parent | 6cb35d28a878470ef742b813e1e8d412d09e6b52 (diff) |
fix: editor.close now takes only a single parameter
-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 7ef8f56c..e9bfdfdd 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2121,7 +2121,7 @@ mod cmd { let views: Vec<_> = cx.editor.tree.views().map(|(view, _)| view.id).collect(); for view_id in views { - cx.editor.close(view_id, false); + cx.editor.close(view_id); } Ok(()) |