Skip to content

Commit b08f8b2

Browse files
authored
Merge branch 'master' into only
2 parents d4a3104 + ffaa4da commit b08f8b2

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

config.def.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
#define DELETE_NODE KEY(L'w')
5959
#define ONLY_NODE KEY(L'q')
6060

61+
/* does nothing, specifically */
62+
#define BAILOUT KEY(L'c')
63+
6164
/* The force redraw key. */
6265
#define REDRAW KEY(L'l')
6366

mtm.1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ when prefixed with the command character:
7474
.Bl -tag -width Ds
7575
.It Em "Up/Down/Right/Left Arrow"
7676
Select the terminal above/below/to the right of/to the left of the currently focused one.
77+
.It Em "c"
78+
Abandon the keychord sequence.
7779
.It Em "o"
7880
.Pq "the letter oh"
7981
Switch to the last-focused terminal.

mtm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@ handlechar(int r, int k) /* Handle a single input character. */
11221122
DO(true, VSPLIT, split(n, VERTICAL))
11231123
DO(true, DELETE_NODE, deletenode(n))
11241124
DO(true, ONLY_NODE, onlynode(n))
1125+
DO(true, BAILOUT, (void)1)
11251126
DO(true, REDRAW, touchwin(stdscr); draw(root); redrawwin(stdscr))
11261127
DO(true, SCROLLUP, scrollback(n))
11271128
DO(true, SCROLLDOWN, scrollforward(n))

0 commit comments

Comments
 (0)