From 8878e8698834a878cac8b55dceba0d0e1ec03745 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Wed, 11 Jun 1997 12:00:00 +1200 Subject: Re: Term::ReadKey on Win32: set console --- lib/Term/ReadLine.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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"; -- cgit v1.2.1