Save recognized runtime commands in expanded history
This commit is contained in:
parent
493b69e21e
commit
d39848e410
2 changed files with 27 additions and 13 deletions
12
README.md
12
README.md
|
|
@ -28,8 +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.
|
||||
Use `--history` to save submitted slash and colon commands to `~/.irc9_history` and
|
||||
recall the 256 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
|
||||
|
|
@ -182,7 +182,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 | browse slash command history with `--history` |
|
||||
| Up / Down | browse slash and colon command history with `--history` |
|
||||
| Left / Right, Home / End | edit the input line |
|
||||
| `Del` | delete the character at the cursor |
|
||||
|
||||
|
|
@ -193,8 +193,8 @@ cancel. Existing files are protected from overwrites.
|
|||
## Runtime options
|
||||
|
||||
Type a command starting with `:` in the input line to use a command-line
|
||||
option inside irc9. Settings apply to the current session. To send a message
|
||||
that starts with a literal colon, type two colons.
|
||||
option inside irc9. Settings apply to the current session. Only the command names below are
|
||||
reserved. Other colon-prefixed text is sent as a chat message.
|
||||
|
||||
| Command | Action |
|
||||
| --- | --- |
|
||||
|
|
@ -202,7 +202,7 @@ that starts with a literal colon, type two colons.
|
|||
| `:silent` / `:nosilent` | Hide or show future channel activity notices |
|
||||
| `:color RRGGBB` / `:nocolor` | Set the interface accent or restore the default cyan |
|
||||
| `:scrollback LINES` / `:noscrollback` | Resize scrollback in every window or restore the 500-line default. Reducing the limit discards the oldest lines |
|
||||
| `:history` / `:nohistory` | Enable or disable saving and browsing slash-command history |
|
||||
| `:history` / `:nohistory` | Enable or disable saving and browsing slash and colon command history |
|
||||
| `:version` | Show the program version in the current window |
|
||||
| `:help` | List the runtime options in the current window |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue