aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-22 04:50:51 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-22 04:50:51 -0400
commit57fdf0bc1f50e75800d3ca2e14bace577161bdaf (patch)
treecea05724e5e831f2ccf3639136b947d75f7cf766 /src/edbox.c
parentfa9c7b244b646c214c2bbf9ab0c50499cc3858dd (diff)
downloadfujinet-chat-57fdf0bc1f50e75800d3ca2e14bace577161bdaf.tar.gz
Delay net polling during rapid typing, add ^X (same as ctrl-del).
Diffstat (limited to 'src/edbox.c')
-rw-r--r--src/edbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/edbox.c b/src/edbox.c
index 049771d..2eaaf78 100644
--- a/src/edbox.c
+++ b/src/edbox.c
@@ -197,6 +197,7 @@ static void normal_keystroke(void) {
del_to_end();
break;
case CH_DEL:
+ case 0x18: /* ^X */
if(!edbox_len)
edbox_hide();
else