mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
2a8ff602e0
commit
cf508d4db9
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class Reline::Windows
|
||||||
|
|
||||||
@@output = STDOUT
|
@@output = STDOUT
|
||||||
|
|
||||||
def self.msys_tty?(io=@@hConsoleInputHandle)
|
def self.msys_tty?(io = @@hConsoleInputHandle)
|
||||||
# check if fd is a pipe
|
# check if fd is a pipe
|
||||||
if @@GetFileType.call(io) != FILE_TYPE_PIPE
|
if @@GetFileType.call(io) != FILE_TYPE_PIPE
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue