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