New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger uses wrong console handle in Windows #16442
Comments
From eric.roode@gmail.comCreated by roode@cpan.orgWhen the command-line debugger starts up under Windows, the following set Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call Term::ReadLine::Perl::readline(Term::ReadLine::Perl=ARRAY(0x2649574), " The reason for this appears to be that perl5db.pl uses the handle 'con' Thanks, --- Inline Patchdiff --git a/lib/perl5db.pl b/lib/perl5db.pl
index ecc49a814d..33f292f85a 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -1533,10 +1533,13 @@ We then determine what the console should be on
-=item * Windows or MSDOS - use C<con>. =cut + elsif ( Perl Info
|
I tried this fix in 5.38 on Windows 11 and it didn't work for me. Changing I installed 5.32 to see what the code was like in that release and here's what I found:
Note that the conditions are OR'd whereas in 5.38 they are AND'd. On a whim I even tried testing |
Migrated from rt.perl.org#132915 (status was 'new')
Searchable as RT132915$
The text was updated successfully, but these errors were encountered: