1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-06-02 20:16:04 +02:00

fix: editor.close now takes only a single parameter

This commit is contained in:
Blaž Hrastnik 2021-11-16 00:37:30 +09:00
parent 6cb35d28a8
commit dd98727bad

View File

@ -2121,7 +2121,7 @@ fn cquit(
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(())