Skip to content
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

Fallback to 80x30 dimensions in terminal #128700

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Jul 14, 2021

Fallback to 80x30 dimensions in terminal

This fixes an issue where when the terminal would be created without a container
it initializes with 0x0 dimensions which gets set to the minimum of 2x1 instead
of the expected default of 80x30 (which node-pty respects). This 80x30 is now
hardcoded in VS Code.

Fixes #128342


Resize terminal when it's shown

This fixes the following case:

  1. Create and split the terminal
  2. Hide the panel
  3. Create a terminal in the background
  4. Show it, the dimensions were wrong

Tyriar added 2 commits July 14, 2021 14:41
This fixes an issue where when the terminal would be created without a container
it initializes with 0x0 dimensions which gets set to the minimum of 2x1 instead
of the expected default of 80x30 (which node-pty respects). This 80x30 is now
hardcoded in VS Code.

Fixes #128342
This fixes the following case:

1. Create and split the terminal
2. Hide the panel
3. Create a terminal in the background
4. Show it, the dimensions were wrong
@Tyriar Tyriar added the candidate Issue identified as probable candidate for fixing in the next release label Jul 14, 2021
@Tyriar Tyriar added this to the June 2021 Recovery 2 milestone Jul 14, 2021
@Tyriar Tyriar requested a review from meganrogge July 14, 2021 21:45
@Tyriar Tyriar self-assigned this Jul 14, 2021
@Tyriar Tyriar merged commit c3f1263 into release/1.58 Jul 14, 2021
@Tyriar Tyriar deleted the tyriar/r158_128342 branch July 14, 2021 21:51
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
candidate Issue identified as probable candidate for fixing in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants