Open JoedowJoedow opened 4 years ago
Thanks, Interesting, we could perhaps set some default size - what terminal are you using? Cmd/ps/wt?
Hey,
Thanks for the quick reply
I was using PowerShell - default on Windows ;-).
Here the header:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\xxx\VSCodeProjects\TemplateToolKitYaml> ${env:COLUMNS}='80'; ${env:LINES}='80'; ${env:PERLDB_OPTS}='RemotePort=localhost:64007'; & 'perl' '-d' 'C:\Users\xx\VSCodeProjects\TemplateToolKitYaml/yamlRead.pl'
Kind regards
Gesendet: Montag, 08. Juni 2020 um 07:26 Uhr Von: "Morten N.O. Nørgaard Henriksen" notifications@github.com An: "raix/vscode-perl-debug" vscode-perl-debug@noreply.github.com Cc: "JoedowJoedow" chw@die-optimisten.net, "Author" author@noreply.github.com Betreff: Re: [raix/vscode-perl-debug] Unable to get Terminal Size / Environment variable COLUMNS / LINES not set (#151)
Thanks, Interesting, we could perhaps set some default size - what terminal are you using? Cmd/ps/wt?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
export TERM=dumb
before executing perl -d
will silence this problem.
First, big thank to the work of Morten.
Second, I am running into following issue, the Debug Console shows following warning:
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. at C:/Programs/Strawberry/perl/vendor/lib/Term/ReadLine/readline.pm line 410. at C:/Programs/Strawberry/perl/vendor/lib/Term/ReadKey.pm line 462.
For my point an dedicated setting of the environment variables worked (launch.json): "env": { }, => replaced by => "env": { "COLUMNS":80, "LINES":80 },
Can this be setup when vscode-perl-debug is installed?
Kind regards