Skip to content

Repository files navigation

VsDebugConsoleAltScreenBufferIssue

  • This repository demonstrate an issue in the VsDebugConsole belong to Visual Studio 2022, with Windows Terminal set to use the Windows Host Console and the console using Virtual Terminal Sequences and Alternate Screen Buffer. The issue occurs when start the application, maximize the window and then restore. Instead the buffer size having the same size as window size it stay with the maximized size, forcing the box drawing outside the visible window. If we resize the window first at start and then maximize and restore, the buffer size is updated correctly.

VsDebugConsole.exe bug

  • Running with cmd.exe or conhost.exe the issue does not occur, so it seems to be related to the VsDebugConsole.

cmd.exe

  • Running with wsl.exe also have a similar bug but draw differently. If we resize the window first at start and then maximize and restore, the buffer size is updated correctly.

wsl.exe bug

  • Running with gnome-terminal the issue does not occur, so it seems to be related to the wsl.exe console.

gnome-terminal

About

Demonstrate VsDebugConsole issue on restore window after maximized.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages