aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-11-15 15:37:30 +0000
committerBlaž Hrastnik2021-11-15 15:37:30 +0000
commitdd98727bad2c727c0cf862dc95525a2fec16b10d (patch)
tree39133a74d83544c67211e77da70175e29146537a /helix-term
parent6cb35d28a878470ef742b813e1e8d412d09e6b52 (diff)
fix: editor.close now takes only a single parameter
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs2
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(())