diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pty/pty.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 29cc689380..9260194f35 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -503,6 +503,14 @@ pty_close_pty(VALUE assoc) * +slave_file+:: the slave of the pty, as a File. The path to the * terminal device is available via +slave_file.path+ * + * IO#raw! is usable to disable newline conversions: + * + * require 'io/console' + * PTY.open {|m, s| + * s.raw! + * ... + * } + * */ static VALUE pty_open(VALUE klass) |