diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-18 10:25:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-18 10:33:05 +0900 |
commit | 77e3078ede833e86a1ee0e2ce745b15e892bdbf6 (patch) | |
tree | 0c81ab319ce78b8fd44d0f63ea1cb64a6b328f5d /test/io | |
parent | 254477248cde5bf82c4f256dca05b13d01c9774c (diff) |
[ruby/io-console] Set raw mode strictly same as cfmakeraw
* Default VMIN and VTIME to minimum input.
* Disable parity check bits explicitly.
* Disable all bits for flow control on input.
Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
https://github.com/ruby/io-console/commit/5ce201a686
Diffstat (limited to 'test/io')
-rw-r--r-- | test/io/console/test_io_console.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 0b28ff1200..219b84615e 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -352,7 +352,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do if cc = ctrl["intr"] assert_ctrl("#{cc.ord}", cc, r, w) assert_ctrl("#{cc.ord}", cc, r, w) - # assert_ctrl("Interrupt", cc, r, w) + assert_ctrl("Interrupt", cc, r, w) end if cc = ctrl["dsusp"] assert_ctrl("#{cc.ord}", cc, r, w) |