fix: don't remove secondary cursors when cancelling dropdown completion

This commit is contained in:
CJ van den Berg 2026-01-26 21:36:57 +01:00
parent 079e9bee22
commit 3402a54a2e
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -337,7 +337,6 @@ pub fn updated(self: *Type, button_: ?*Type.ButtonType) !void {
pub fn cancel(_: *Type) !void {
const editor = tui.get_active_editor() orelse return;
editor.cancel_all_matches();
editor.cancel_all_selections();
const mv = tui.mainview() orelse return;
mv.cancel_info_content() catch {};
}