IRCClient: Scroll windows to bottom when new messages arrive.

This will need some tweaking to feel truly good, but this is already
better than just staying at the top while messages come in.
This commit is contained in:
Andreas Kling 2019-03-19 03:09:51 +01:00
commit d0559c0e27
Notes: sideshowbarker 2024-07-19 15:00:16 +09:00

View file

@ -72,7 +72,9 @@ void IRCWindow::did_add_message()
if (!is_active()) {
++m_unread_count;
m_client.aid_update_window_list();
return;
}
m_table_view->scroll_to_bottom();
}
void IRCWindow::clear_unread_count()