1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/io-console] Set OPOST when intr is true

To enable implementation-defined output processing, for the
compatibility with readline.  [Bug #16509]

https://bugs.ruby-lang.org/issues/16509

https://github.com/ruby/io-console/commit/8c8b0b6757
This commit is contained in:
Nobuyoshi Nakada 2020-01-17 23:49:26 +09:00
parent 569f56e0f7
commit 4e56ec4ef7

View file

@ -190,6 +190,7 @@ set_rawmode(conmode *t, void *arg)
if (r->intr) {
t->c_iflag |= BRKINT;
t->c_lflag |= ISIG;
t->c_oflag |= OPOST;
}
#endif
(void)r;