diff --git a/src/tui/mode/mini/file_browser.zig b/src/tui/mode/mini/file_browser.zig index 9eb870a..c344f33 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 d98a7ff..b2424f0 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; }