Keep active and sticky chats visible and fix unread counts

This commit is contained in:
Johannes Findeisen 2026-12-02 01:31:20 +01:00
commit 847886a879
2 changed files with 89 additions and 38 deletions

View file

@ -150,7 +150,9 @@ The left column is a tree: each server and its windows (channels and private
message windows). Channels appear before private message windows, with
uppercase names sorting before lowercase names in each group. An unread window
shows `(n)` next to its name. Each server shows its total unread count after
its name, including when folded. `*` marks a connected server. The selected server or window is shown bold and underlined. Highlights use the
its name, including when folded. The server count appears after startup channel
joins finish. Unread counts include chat messages, actions, and chat notices.
`*` marks a connected server. The selected server or window is shown bold and underlined. Highlights use the
terminal's default background so transparency is preserved where supported.
Channel topics wrap to the chat pane width and stay at the top while you scroll.
On short terminals, the topic leaves room for at least one chat line when possible.
@ -174,8 +176,8 @@ MODE, TOPIC, and INVITE events are shown in the relevant window.
| `Ctrl+Left` / `Ctrl+Right` | move to the previous / next word in the input line |
| `Ctrl+Up` / `Ctrl+Down` | scroll the channel tree by one row |
| `ctrl-n` / `ctrl-p` | next / previous visible window (tree order, wraps around) |
| Enter | fold or unfold the selected server when the input line is empty |
| `Ctrl+H` | toggle hiding channels and private chats with no unread messages. They reappear when they have unread messages and their server is unfolded |
| Enter | with empty input, fold or unfold a server, or toggle a chat’s sticky status (`*` after its name) |
| `Ctrl+H` | toggle hiding inactive channels and private chats with no unread messages. Active and sticky chats stay visible when their server is unfolded |
| `PageUp` / `PageDown` | scroll the current window |
| `ctrl-l` | clear the screen (history stays scrollable) |
| `ctrl-t` | toggle copy view, which hides the tree, chat timestamps, and sender names |