Remove an unused entry in the mode keys command enum and rename

MODEKEYCOPY_QUIT to _CANCEL to match the others.
This commit is contained in:
Nicholas Marriott
2009-07-27 20:36:13 +00:00
parent d95274c5f2
commit 309b76fb32
4 changed files with 7 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ window_scroll_key(struct window_pane *wp, unused 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: