as C-h like the other Ctrl keys. Backspace is already handled separately
if it VERASE.
-/* $OpenBSD: input-keys.c,v 1.97 2024/08/23 13:25:39 nicm Exp $ */
+/* $OpenBSD: input-keys.c,v 1.98 2024/08/26 07:45:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
* key and no modifiers.
*/
if (!(key & ~KEYC_MASK_KEY)) {
- if (key == C0_BS || key == C0_HT ||
- key == C0_CR || key == C0_ESC ||
+ if (key == C0_HT ||
+ key == C0_CR ||
+ key == C0_ESC ||
(key >= 0x20 && key <= 0x7f)) {
ud.data[0] = key;
input_key_write(__func__, bev, &ud.data[0], 1);
-/* $OpenBSD: tty-keys.c,v 1.177 2024/08/21 04:17:09 nicm Exp $ */
+/* $OpenBSD: tty-keys.c,v 1.178 2024/08/26 07:45:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
* lowercase, so ^A becomes a|CTRL.
*/
onlykey = key & KEYC_MASK_KEY;
- if (onlykey < 0x20 && onlykey != C0_BS &&
- onlykey != C0_HT && onlykey != C0_CR &&
+ if (onlykey < 0x20 &&
+ onlykey != C0_HT &&
+ onlykey != C0_CR &&
onlykey != C0_ESC) {
onlykey |= 0x40;
if (onlykey >= 'A' && onlykey <= 'Z')