summaryrefslogtreecommitdiff
path: root/lib/Term/ReadLine.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Term/ReadLine.pm')
-rw-r--r--lib/Term/ReadLine.pm2
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";