summaryrefslogtreecommitdiff
path: root/src/tty.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2016-07-04 20:20:41 +0200
committerAmadeusz Sławiński <amade@asmblr.net>2016-07-04 20:20:41 +0200
commit594946a11308f19af7216e3411ea8118d22ec33c (patch)
tree160d04736387465ff6f34389f3fea68b11eb348e /src/tty.c
parent3bf319d860f5969b0cb5b574d2c8583d5552aa00 (diff)
downloadscreen-594946a11308f19af7216e3411ea8118d22ec33c.tar.gz
change VKILL to ^U
it seems to be sane default on unix systems among other things, fixes weird behaviour of 'read' in bash on screen -dm Bug: 48339 Reported-By: Valentin Nechayev <n-gnu@nn.kiev.ua>
Diffstat (limited to 'src/tty.c')
-rw-r--r--src/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty.c b/src/tty.c
index 22f5c03..a85cd20 100644
--- a/src/tty.c
+++ b/src/tty.c
@@ -272,7 +272,7 @@ void InitTTY(struct mode *m, int ttyflag)
#endif /* VERASE */
#if defined(VKILL)
#if (VKILL < MAXCC)
- m->tio.c_cc[VKILL] = Ctrl('H');
+ m->tio.c_cc[VKILL] = Ctrl('U');
#endif
#endif /* VKILL */
#if defined(VEOF)