mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-15 08:12:46 +02:00
Tidy up keys: use an enum for the key codes, and remove the macros which just
wrap flag sets/clears/tests.
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user