summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-13 11:41:31 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-17 13:55:04 +0900
commit81eb2d16efcb29899e88e30a25ca5440195e2393 (patch)
tree7b6d93da4aac517a66f25477482fb3888d6a39f5 /ext/io
parentec89a0f8033215817d9c6f9300d9513178e785b7 (diff)
[ruby/io-console] Disable implementation-defined special control characters
In raw mode with interrupt enabled. https://github.com/ruby/io-console/commit/e9e8e3ff17
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 546f96226be..ec70bdf9df5 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -187,7 +187,7 @@ set_rawmode(conmode *t, void *arg)
#ifdef ISIG
if (r->intr) {
t->c_iflag |= BRKINT|IXON;
- t->c_lflag |= ISIG|IEXTEN;
+ t->c_lflag |= ISIG;
}
#endif
(void)r;