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:
parent
569f56e0f7
commit
4e56ec4ef7
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue