diff options
author | Gurusamy Sarathy <gsar@engin.umich.edu> | 1997-06-11 12:00:00 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-06-11 12:00:00 +1200 |
commit | 8878e8698834a878cac8b55dceba0d0e1ec03745 (patch) | |
tree | c10631f1ad88b2bd316368456bcaf8e9beba958f /lib | |
parent | b4492ac422a915aa8afddffb696c37879244f66d (diff) | |
download | perl-8878e8698834a878cac8b55dceba0d0e1ec03745.tar.gz |
Re: Term::ReadKey on Win32: set console
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Term/ReadLine.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Term/ReadLine.pm b/lib/Term/ReadLine.pm index a52b558b22..105e6dd536 100644 --- a/lib/Term/ReadLine.pm +++ b/lib/Term/ReadLine.pm @@ -157,7 +157,7 @@ sub findConsole { if (-e "/dev/tty") { $console = "/dev/tty"; - } elsif (-e "con") { + } elsif (-e "con" or $^O eq 'MSWin32') { $console = "con"; } else { $console = "sys\$command"; |