projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b4492ac
)
Re: Term::ReadKey on Win32: set console
Gurusamy Sarathy [Wed, 11 Jun 1997 00:00:00 +0000 (12:00 +1200)]
lib/Term/ReadLine.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Term/ReadLine.pm
b/lib/Term/ReadLine.pm
index
a52b558
..
105e6dd
100644
(file)
--- 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";