diff --git a/src/app.zig b/src/app.zig index dd03321..f4e2f1b 100644 --- a/src/app.zig +++ b/src/app.zig @@ -251,7 +251,7 @@ pub const App = struct { .focus_in => { if (self.selectedBuffer()) |buffer| { // If we have a selected channel, we reset the last_read_indicator state when - // losing focus. This means that any messages received + // gaining focus. This means that any messages received switch (buffer) { .client => {}, .channel => |channel| channel.last_read_indicator = channel.last_read,