diff --git a/docs/help-hotkeys.md b/docs/help-hotkeys.md index da09abb..84825bc 100644 --- a/docs/help-hotkeys.md +++ b/docs/help-hotkeys.md @@ -10,7 +10,7 @@ **`CTRL-E`** jumps to the oldest unread message in another channel, or alt-tabs between two channels otherwise -**`CTRL-R`** is the `/r` command, redraws the screen to fix corruption. Use this if things are glitchy after resizing the terminal +**`CTRL-L`** is the `/r` command, redraws the screen to fix corruption. Use this if things are glitchy after resizing the terminal **`CTRL-K`** followed by a number `0-9` or letter `a-f` changes colour mid-message, see `/cmap` diff --git a/r0c/ivt100.py b/r0c/ivt100.py index 2af5f19..aa5f9cd 100644 --- a/r0c/ivt100.py +++ b/r0c/ivt100.py @@ -368,10 +368,11 @@ class VT100_Client(object): self.add_esc(u"\x1b\x5b\x33\x7e", "del") # hotkeys - self.add_esc(u"\x12", "redraw") - self.add_esc(u"\x01", "prev-chan") - self.add_esc(u"\x18", "next-chan") - self.add_esc(u"\x05", "alt-tab") + self.add_esc(u"\x0c", "redraw") # ^L (readline-compat) + self.add_esc(u"\x12", "redraw") # ^R + self.add_esc(u"\x01", "prev-chan") # ^A + self.add_esc(u"\x18", "next-chan") # ^X + self.add_esc(u"\x05", "alt-tab") # ^E thr = threading.Thread(target=self.handshake_timeout, name="hs_to") thr.daemon = True @@ -2246,7 +2247,7 @@ class VT100_Client(object): but this is gonna be bad regardless whenever the screen turns too glitchy - you can press CTRL-R and Enter to redraw + you can press CTRL-L and Enter to redraw or run the command "/r" if that doesn't work press A to accept or Q to quit&lm