Microsoft/vscode

VS Code reports incorrect size of the terminal until the terminal is manually resized

Open

#174 486 ouverte le 15 févr. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (1 assigné)TypeScript (10 221 forks)batch import
bughelp wantedterminal-layout

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.75.1
  • OS Version: Ubuntu 22.04.1 LTS

Steps to Reproduce:

  1. Make typeset -p COLUMNS or repeat COLUMNS; print -n . command run on integrated terminal open (e.g. by adding one of them at the very top of ~/.zshrc config file)
  2. Open VS Code
  3. Open integrated terminal
  4. Close VS code and re-open it
  5. Resize the showed up terminal
  6. Run in the terminal typeset -p COLUMNS or repeat COLUMNS; print -n . command
  7. Observe the difference between the value coming from the terminal command run on startup and command run manually (see screenshot below). VS Code reports incorrect size on terminal open until it gets manually resized.

2023-02-15_19-52

Guide contributeur