-/* $OpenBSD: status.c,v 1.179 2018/08/22 20:06:14 nicm Exp $ */
+/* $OpenBSD: status.c,v 1.180 2018/08/29 08:56:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
free(s);
return (1);
}
+ key &= ~KEYC_XTERM;
keys = options_get_number(c->session->options, "status-keys");
if (keys == MODEKEY_VI) {
goto changed;
case 'f'|KEYC_ESCAPE:
+ case KEYC_RIGHT|KEYC_CTRL:
ws = options_get_string(oo, "word-separators");
/* Find a word. */
goto changed;
case 'b'|KEYC_ESCAPE:
+ case KEYC_LEFT|KEYC_CTRL:
ws = options_get_string(oo, "word-separators");
/* Find a non-separator. */