diff options
author | 2009-07-27 20:36:13 +0000 | |
---|---|---|
committer | 2009-07-27 20:36:13 +0000 | |
commit | 80e13c5f5a7c6b10055e75e5debce16e8a946074 (patch) | |
tree | 3582bb40c33fd7f4cf7435f1b793bc6d3bffa514 /usr.bin/tmux/window-copy.c | |
parent | The Digital EtherWORKS card is confirmed to work. (diff) | |
download | wireguard-openbsd-80e13c5f5a7c6b10055e75e5debce16e8a946074.tar.xz wireguard-openbsd-80e13c5f5a7c6b10055e75e5debce16e8a946074.zip |
Remove an unused entry in the mode keys command enum and rename
MODEKEYCOPY_QUIT to _CANCEL to match the others.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r-- | usr.bin/tmux/window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 40a92dc86bb..6dd71fd694c 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.10 2009/07/27 19:29:35 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.11 2009/07/27 20:36:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -168,7 +168,7 @@ window_copy_key(struct window_pane *wp, struct client *c, int key) struct screen *s = &data->screen; switch (mode_key_lookup(&data->mdata, key)) { - case MODEKEYCOPY_QUIT: + case MODEKEYCOPY_CANCEL: window_pane_reset_mode(wp); break; case MODEKEYCOPY_LEFT: |