From 3bea19084c0da7b31b9ef982affd4f2bc3ebd0a1 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Wed, 9 Oct 2024 20:46:44 +0200 Subject: [PATCH] fix: add missing selection_updated call to palette up/down commands --- src/tui/mode/overlay/palette.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tui/mode/overlay/palette.zig b/src/tui/mode/overlay/palette.zig index 7343a1c..09f0742 100644 --- a/src/tui/mode/overlay/palette.zig +++ b/src/tui/mode/overlay/palette.zig @@ -433,6 +433,7 @@ pub fn Create(options: type) type { self.view_pos += 1; try self.start_query(); self.menu.select_last(); + self.selection_updated(); return; } } @@ -447,6 +448,7 @@ pub fn Create(options: type) type { self.view_pos -= 1; try self.start_query(); self.menu.select_first(); + self.selection_updated(); return; } }