Commit Graph

6 Commits

Author SHA1 Message Date
anders 3e137863fe Add activity indicator, fix window redraw on switch
- Status bar shows (Act: 2,3) for windows with unread messages
- Activity clears when switching to that window
- Re-set scroll region on every window redraw to prevent display issues
2026-04-29 23:17:06 +02:00
anders 82d592d574 Fix input line wrapping pushing chat up
- Horizontal scroll for input when exceeding terminal width
- Never wraps to next line or disturbs scroll region
2026-04-29 12:48:58 +02:00
anders 354f0eb8e9 Display incoming UTF-8 natively, convert only outgoing to ISO-8859-1
- Stop converting incoming text to ISO-8859-1 for display
- Terminal is UTF-8, so pass through directly (åäö, Cyrillic, etc.)
- Keep ISO-8859-1 conversion only for outgoing messages
- Add irc.log to .gitignore
2026-04-29 12:34:55 +02:00
anders 12a9127af8 Add /names, Ctrl-P/N scrollback, charset logger, terminal fixes
- /names #channel to list users
- Ctrl-P/Ctrl-N for page up/down in scrollback
- Charset logger (irc.log) with hex dump and detection
- chartest.c utility for inspecting key codes
- Fix window redraw to align lines at bottom
- Fix terminal cleanup via atexit (no more broken terminal)
- Green prompt
2026-04-29 12:26:29 +02:00
anders 71f6699aa9 Add window levels, status bar, UTF-8 input, charset conversion
- Isolated window levels with 500-line scrollback per window
  - Window 1: status + private messages
  - Windows 2-9: channels
- Status bar showing window, channel, nick prefix, channel modes
- Automatic charset conversion (UTF-8/UTF-16 -> ISO-8859-1 on wire)
- UTF-8 aware input editing with Ctrl-A/E/U/K/Y
- CTCP VERSION reply with real OS info from uname()
- Real name from passwd GECOS field
- SIGWINCH handling for terminal resize
- Ctrl-C quit confirmation (y + Enter)
- /whois, /wii, /mode, /quit with default reason
- Green prompt, timestamps on all messages
2026-04-29 12:03:57 +02:00
anders e2a5ddf9a0 first commit 2026-04-29 11:44:36 +02:00