diff --git a/src/tui/mode/mini/file_browser.zig b/src/tui/mode/mini/file_browser.zig index 9eb870ab..c344f331 100644 --- a/src/tui/mode/mini/file_browser.zig +++ b/src/tui/mode/mini/file_browser.zig @@ -71,7 +71,8 @@ pub fn Create(options: type) type { self.allocator.destroy(self); } - pub fn receive(_: *Self, _: tp.pid_ref, _: tp.message) error{Exit}!bool { + pub fn receive(self: *Self, _: tp.pid_ref, _: tp.message) error{Exit}!bool { + self.update_mini_mode_text(); return false; } diff --git a/src/tui/mode/mini/goto.zig b/src/tui/mode/mini/goto.zig index d98a7ffb..b2424f0e 100644 --- a/src/tui/mode/mini/goto.zig +++ b/src/tui/mode/mini/goto.zig @@ -48,7 +48,8 @@ pub fn deinit(self: *Self) void { self.allocator.destroy(self); } -pub fn receive(_: *Self, _: tp.pid_ref, _: tp.message) error{Exit}!bool { +pub fn receive(self: *Self, _: tp.pid_ref, _: tp.message) error{Exit}!bool { + self.update_mini_mode_text(); return false; }