diff --git a/README.md b/README.md index db24d08..e0698f7 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ MODE, TOPIC, and INVITE events are shown in the relevant window. | `Ctrl+Up` / `Ctrl+Down` | scroll the channel tree by one row | | `ctrl-n` / `ctrl-p` | next / previous visible window (tree order, wraps around) | | 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 | +| `Ctrl+O` | 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 | diff --git a/irc9.c b/irc9.c index f8556ff..5163407 100644 --- a/irc9.c +++ b/irc9.c @@ -2545,7 +2545,7 @@ static void handle_key(int c) } if (c != '\t') comp_active = 0; if (c == '\t') { complete_input(); return; } - if (c == 0x08) { /* ctrl-h */ + if (c == 0x0f) { /* ctrl-o */ hide_read_windows = !hide_read_windows; position_tree(0, 1); dirty = 1;