mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
e5c441a4a2
commit
31e2f03512
2 changed files with 6 additions and 1 deletions
|
@ -188,7 +188,7 @@ set_rawmode(conmode *t, void *arg)
|
||||||
#endif
|
#endif
|
||||||
#ifdef ISIG
|
#ifdef ISIG
|
||||||
if (r->intr) {
|
if (r->intr) {
|
||||||
t->c_iflag |= BRKINT|IXON;
|
t->c_iflag |= BRKINT;
|
||||||
t->c_lflag |= ISIG;
|
t->c_lflag |= ISIG;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -364,6 +364,11 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
|
||||||
assert_ctrl("#{cc.ord}", cc, r, w)
|
assert_ctrl("#{cc.ord}", cc, r, w)
|
||||||
assert_ctrl("#{cc.ord}", cc, r, w)
|
assert_ctrl("#{cc.ord}", cc, r, w)
|
||||||
end
|
end
|
||||||
|
if cc = ctrl["stop"]
|
||||||
|
assert_ctrl("#{cc.ord}", cc, r, w)
|
||||||
|
assert_ctrl("#{cc.ord}", cc, r, w)
|
||||||
|
assert_ctrl("#{cc.ord}", cc, r, w)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue