You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Whether "Windows mode" is enabled. Because Windows backends winpty and
* conpty operate by doing line wrapping on their side, xterm.js does not
* have access to wrapped lines. When Windows mode is enabled the following
* changes will be in effect:
*
* - Reflow is disabled.
* - Lines are assumed to be wrapped if the last character of the line is
* not whitespace.
*/
windowsMode?: boolean;
This actually disables reflow completely as conpty handles resize instead of the terminal. This is fixed for the most part on recent versions of Windows 11 because of: microsoft/terminal#405
This is how VS Code behaves on Windows 11 21H2 (v22000.795):
VS Code only enables windowsMode on Windows < v21376:
I used
xterm-addon-fit
to resize the terminal while the window size changing.The terminal can resize normally. However, if there are multiple lines input, the current input cannot dispplay correctly:
In addition, historical input can be displayed correctly.
Details
Steps to reproduce
The text was updated successfully, but these errors were encountered: