···15581558 .height = .{ .limit = 1 },
15591559 });
15601560 if (channel_win.hasMouse(self.state.mouse)) |mouse| {
15611561- if (mouse.type == .press and mouse.button == .left) {
15611561+ if (mouse.type == .press and mouse.button == .left and self.state.buffers.selected_idx != row) {
15621562 // When leaving a channel we mark it as read, so we make sure that's done
15631563 // before we change to the new channel.
15641564 self.markSelectedChannelRead();