diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 17:57:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 17:57:29 +0000 |
commit | 725938fb85290ca67ab50e27f9cacb870ff56c63 (patch) | |
tree | c0e4b6e6f5066f87075c14b771d20314408fb5f4 /cmd-rotate-window.c | |
parent | c6012aaabc1eb10f42f77a1836c6e38faa7e396e (diff) | |
download | rtmux-725938fb85290ca67ab50e27f9cacb870ff56c63.tar.gz rtmux-725938fb85290ca67ab50e27f9cacb870ff56c63.tar.bz2 rtmux-725938fb85290ca67ab50e27f9cacb870ff56c63.zip |
Tidy up keys: use an enum for the key codes, and remove the macros which just
wrap flag sets/clears/tests.
Diffstat (limited to 'cmd-rotate-window.c')
-rw-r--r-- | cmd-rotate-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c index c69fa8d1..c12345d6 100644 --- a/cmd-rotate-window.c +++ b/cmd-rotate-window.c @@ -48,7 +48,7 @@ cmd_rotate_window_init(struct cmd *self, int key) cmd_target_init(self, key); data = self->data; - if (key == KEYC_ADDESC('o')) + if (key == ('o' | KEYC_ESCAPE)) data->chflags |= CMD_CHFLAG('D'); } |