Make scrollback length configurable from the CLI

This commit is contained in:
Johannes Findeisen 2026-11-29 23:05:19 +01:00
commit 15a6c6dee9
2 changed files with 23 additions and 9 deletions

View file

@ -26,6 +26,8 @@ line.
Use `-c RRGGBB` or `--color RRGGBB` to replace the default cyan accent on
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.
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