summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxcko shrdlu2016-11-06 01:47:24 -0700
committerQuentin Carbonneaux2016-11-06 11:39:54 -0500
commit7cf5b1709a715eb8af0caadb3af229e04895a822 (patch)
tree9b4a0542ec49b4c2fa87ecc76dd174a58498ac86
parentf80202802bc1fb4d56f6ce27bcdeaf58d7d1cd1e (diff)
allow ctrl-h as backspace
-rw-r--r--irc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc.c b/irc.c
index 76aa4bf..128f4cd 100644
--- a/irc.c
+++ b/irc.c
@@ -677,6 +677,7 @@ tgetch(void)
dirty = cu;
len--;
break;
+ case CTRL('h'):
case KEY_BACKSPACE:
if (cu == 0)
return;