-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Console geometry in pwsh-7.5.0-preview.2 #21267
Comments
Returned on preview.1 |
I see the problem on macOS too, but not on Windows. What changed between preview.1 and preview.2 is the move from .NET 8 to .NET 9 (specifically, .NET SDK version 9.0.100-preview.1.24101.2 and runtime version 9.0.0-preview.1.24080.9). However, the problem does appear to be on the PowerShell side: when I compile a console application with the same SDK, the correct values are reported. This bug makes the terminal experience on Unix-like platforms very frustrating. |
I suppose that the Then it fallback to the |
The terminfo database does not store dynamic information from the terminal. Instead we should trust in the values read when the terminal signaled invalidation of the cache. Fixes: PowerShell/PowerShell#21267 Signed-off-by: Matheus Castello <matheus@castello.eng.br>
The terminfo database does not store dynamic information from the terminal. Instead we should trust in the values read when the terminal signaled invalidation of the cache. Fixes: PowerShell/PowerShell#21267 Signed-off-by: Matheus Castello <matheus@castello.eng.br>
@237dmitry -- Thank you for reporting this issue -- The Interactive WG has reviewed this and we believe that this is being fixed in the current .NET preview (.NET 9 regression). |
This issue has been marked as external and has not had any activity for 1 day. It has been be closed for housekeeping purposes. |
📣 Hey @237dmitry, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
Prerequisites
Steps to reproduce
80x24 regardless of terminal settings
Expected behavior
The console geometry must match the terminal settings
Actual behavior
80x24
Error details
No errors
Environment data
Visuals
The text was updated successfully, but these errors were encountered: