on master help sign in
fix: editor.close now takes only a single parameter
commitdd98727bad2c727c0cf862dc95525a2fec16b10d authorBlaž Hrastnik <blaz@mxxn.io> dateTue 16 Nov 2021, 00:37 (5 years ago) parent6cb35d2
1 file changed+1−1
helix-term/src/commands.rs+1−1
helix-term/src/commands.rs+1−1
@@ -2121,7 +2121,7 @@ mod cmd {
21212121
21222122 let views: Vec<_> = cx.editor.tree.views().map(|(view, _)| view.id).collect();
21232123 for view_id in views {
2124− cx.editor.close(view_id, false);
2124+ cx.editor.close(view_id);
21252125 }
21262126
21272127 Ok(())