an experimental irc client

fix: ignore markread_on_focus config for now

rockorager.dev 271accc6 672289cb

verified
+5 -2
+4
src/app.zig
··· 286 286 .focus_out => self.has_focus = false, 287 287 288 288 .focus_in => { 289 + if (self.config.markread_on_focus) { 290 + // TODO: implement this 291 + 292 + } 289 293 self.has_focus = true; 290 294 ctx.redraw = true; 291 295 },
+1 -2
src/irc.zig
··· 1295 1295 self.scroll_to_last_read = false; 1296 1296 } 1297 1297 1298 - if (self.client.app.config.markread_on_focus and 1299 - self.has_unread and 1298 + if (self.has_unread and 1300 1299 self.client.app.has_focus and 1301 1300 self.messageViewIsAtBottom()) 1302 1301 {