26 Commits

Author SHA1 Message Date
fa63af7c30 irc: expand Send dialog input without allowing newlines
- Remove allow_newline; Enter triggers Send via is_enter_default.
- Keep use_available_height + condensed to reduce scroll bars.

Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 03:11:50 +03:00
149f930ef9 irc: make Send message dialog multiline and expandable
- Enable  for multiline input.
- Use  and  to expand input box and maximize space.

Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 03:10:12 +03:00
5cec4d8bb1 irc: remove duplicate NICK handler in handleLine
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 03:09:03 +03:00
36dd81ce1c irc: fix live updates and preserve default buttons on reopen
- Set  in  so append/refresh repaint.
- Build button rows explicitly (Send + TextViewer defaults) and disable
  automatic default insertion to ensure defaults remain after reinit.

Also clarifies behavior when reopening a keep_running view.

Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 03:03:28 +03:00
d79377a712 irc: restore TextViewer default buttons (scroll/find/Close); keep only custom Send button to avoid duplicate Close; fixes live updates
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:50:32 +03:00
2f061e20dc irc: avoid reinit on append; set TextViewer.text to current buffer in refresh; rely on switcher refresh path
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:48:54 +03:00
8a38e51e20 irc: force TextViewer reinit after live append to current channel to work around UI not repainting
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:45:22 +03:00
bdb131cbfa irc: refresh current channel with same codepath as switcher after append; fixes live updates on send/receive
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:39:33 +03:00
ef3db25cd0 irc: send before closing dialog and force a post-close refresh; add refreshView helper
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:30:59 +03:00
ed22622ecd irc: trigger ScrollTextWidget updateScrollBar after appending to force immediate repaint on send
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:27:59 +03:00
3051a31136 irc: force UI refresh after local send/append; no need to reselect channel to see own messages
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:23:38 +03:00
747b30ad55 irc: show current buffer after (re)init to avoid needing manual switch; preload history on open
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:19:42 +03:00
499adacb06 irc: preserve channels/buffers on UI reinit; avoid resetting state when reopening background session
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:16:01 +03:00
aa18d317de irc: add Disconnect in server actions; rename Connect->Open when session already active
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:11:17 +03:00
7f4d1fa6b5 irc: add Disconnect action; avoid double Close by removing default buttons; guard UI updates when closed; reinit view when reopening background session; rename server action when connected
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:09:21 +03:00
661bc5daa1 irc: keep session alive when closing UI; reuse background session on reopen; rename Leave->Close
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:03:34 +03:00
60db4a97c1 irc: standardize history dir to host_port; add legacy name_host_port fallback when loading
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 02:00:00 +03:00
b57a19fd51 irc: restore last active channel on reconnect; auto-switch from console on first JOIN; persist last target per server
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:56:50 +03:00
8ec5f38d07 irc: persist per-target history to files; preload last lines on switch
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:52:54 +03:00
f6d82336ca irc: fix gettext shadowing by avoiding '_' loop variables (Switch channel, receive loop)
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:48:15 +03:00
19b456f583 irc: replace per-item channel list with 'Switch channel' popup menu
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:46:08 +03:00
a7a8a19d9c irc: channel-aware membership; scope QUIT/NOTICE to relevant buffers; update titlebar reliably
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:43:11 +03:00
8aae63b93d irc: update titlebar when switching channels
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:41:33 +03:00
736441c2e1 irc: multi-channel buffers, unread badges, TLS, nick sync and fixes
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:40:20 +03:00
636d71a15f a nice message here
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:37:32 +03:00
4b129cdaa0 init
Signed-off-by: Slendi <slendi@socopon.com>
2025-09-20 01:00:44 +03:00