fix: override cursor focus rendering during dropdown completion

This commit is contained in:
CJ van den Berg 2026-02-03 16:54:00 +01:00
parent 7c61b2dac6
commit d5166e2f68
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 7 additions and 1 deletions

View file

@ -46,6 +46,7 @@ pub fn init(self: *Type) error{ Stop, OutOfMemory }!void {
try self.value.commands.init(self);
self.value.editor = tui.get_active_editor() orelse return error.Stop;
self.value.view = self.value.editor.view;
self.value.editor.cursor_focus_override = true;
}
pub fn load_entries(self: *Type) !usize {