Microsoft/vscode
在 GitHub 查看VS Code reports incorrect size of the terminal until the terminal is manually resized
Open
#174,486 建立於 2023年2月15日
bughelp wantedterminal-layout
倉庫指標
- Star
- (74,848 star)
- PR 合併指標
- (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)
描述
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:
- Make
typeset -p COLUMNSorrepeat COLUMNS; print -n .command run on integrated terminal open (e.g. by adding one of them at the very top of ~/.zshrc config file) - Open VS Code
- Open integrated terminal
- Close VS code and re-open it
- Resize the showed up terminal
- Run in the terminal
typeset -p COLUMNSorrepeat COLUMNS; print -n .command - 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.
