1
0
Fork 0
forked from murx/irc9

Add opt-in persistent slash command history

This commit is contained in:
Johannes Findeisen 2026-11-30 21:57:06 +01:00
commit 172157825b
2 changed files with 66 additions and 10 deletions

View file

@ -28,6 +28,8 @@ the channel tree and divider. For example, `./irc9 --color FF8800` uses
orange on terminals with true-color support.
Use `--scrollback LINES` to set how many lines each window retains. The default
is 500 lines. For example, `./irc9 --scrollback 2000` keeps 2000 lines per window.
Use `--history` to save submitted slash commands to `~/.irc9_history` and
recall the 64 most recent commands with Up and Down across sessions.
With no config path, irc9 looks next to the executable, in this order:
`irc9rc`, `config`, then `~/.irc9rc`. Paths are relative to the binary, not to
@ -167,7 +169,7 @@ MODE, TOPIC, and INVITE events are shown in the relevant window.
| `ctrl-l` | clear the screen (history stays scrollable) |
| `ctrl-t` | toggle copy view, which hides the tree, chat timestamps, and sender names |
| `ctrl-s` | save the current window’s scrollback to a new plain-text file |
| Up / Down | command history |
| Up / Down | browse slash command history with `--history` |
| Left / Right, Home / End | edit the input line |
| `Del` | delete the character at the cursor |