Skip to content

Commit

Permalink
Set OPOST when intr is true
Browse files Browse the repository at this point in the history
To enable implementation-defined output processing, for the
compatibility with readline.  [Bug #16509]

https://bugs.ruby-lang.org/issues/16509
  • Loading branch information
nobu committed Jan 17, 2020
1 parent ee8f539 commit 0122a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/io/console/console.c
Expand Up @@ -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;
Expand Down

0 comments on commit 0122a21

Please sign in to comment.