You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Tasks 2.0.0] Wrapping output in terminal when Panel is hidden #22328
bugIssue identified by VS Code Team member as probable bugtasksTask system issuesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
when I run my "test" task in terminal and Panel is hidden, then the output in the terminal is wrapped, it looks like this (new line after 80 chars):
Chrome 56.0.2924 (Mac OS X 10.12.3): Executed 1 of 6546 (skipped 6545) SUCCESS (
2.99 secs / 0.015 secs)
But when I run the task with opened Panel, then the output is as it should be - non-wrapped. It looks like this:
Chrome 56.0.2924 (Mac OS X 10.12.3): Executed 1 of 6546 (skipped 6545) SUCCESS (3.122 secs / 0.018 secs)
It would be just a styling issue, but the bigger problem is, that if one has a custom problemMatcher which normally matches one line and it is wrapped by hidden Panel, then the matcher never finishes and no other task can be run (and "slashes" indicator //is the bottom left of the Code is spinning and spinning and ...). Once it also crashed whole Code.
My problemMatcher to matching problems generated by Chrome when running JS tests by Karma runner:
changed the title [-][Tasks 2.0.0] Collapsing output in terminal when Panel is hidden[/-][+][Tasks 2.0.0] Wrapping output in terminal when Panel is hidden[/+]on Mar 9, 2017
This is on my side, the issue is that initial terminal dimensions are only fetched on a per-terminal basis and if the terminal is hidden it won't work so the default is used (80).
I pushed a fix for this that should fix the size when the panel is minimized or the terminal instance is in the background (provided the panel has been created). I tested via the terminal API:
This looks the same to me on stable vs insiders. ls wraps to two columns when the terminal is hidden. If i run the same command with the terminal visible, it wraps to five columns.
bugIssue identified by VS Code Team member as probable bugtasksTask system issuesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Activity
[-][Tasks 2.0.0] Collapsing output in terminal when Panel is hidden[/-][+][Tasks 2.0.0] Wrapping output in terminal when Panel is hidden[/+]dbaeumer commentedon Mar 10, 2017
Daniel Imms (@Tyriar) can you please have a look. Is this something I need to control ?
Tyriar commentedon Mar 10, 2017
This is on my side, the issue is that initial terminal dimensions are only fetched on a per-terminal basis and if the terminal is hidden it won't work so the default is used (80).
Tyriar commentedon Mar 10, 2017
I pushed a fix for this that should fix the size when the panel is minimized or the terminal instance is in the background (provided the panel has been created). I tested via the terminal API:
Open terminal panel
Run following API code:
Switch to terminal and verify that
lsoutput is formatted to full panel widthDirk Bäumer (@dbaeumer) could you verify this with a task?
roblourens commentedon Mar 30, 2017
This looks the same to me on stable vs insiders.
lswraps to two columns when the terminal is hidden. If i run the same command with the terminal visible, it wraps to five columns.dbaeumer commentedon Apr 13, 2017
This works for me under Windows. See:
Initialize pty process with correct dimensions when term instance is …