···251 .focus_out => self.has_focus = false,
252253 .focus_in => {
254- if (self.selectedBuffer()) |buffer| {
255- // If we have a selected channel, we reset the last_read_indicator state when
256- // gaining focus. This means that any messages received
257- switch (buffer) {
258- .client => {},
259- .channel => |channel| channel.last_read_indicator = channel.last_read,
260- }
261- }
262-263 self.has_focus = true;
0264 },
265266 else => {},