Skip to content

Conversation

mgkuhn
Copy link

@mgkuhn mgkuhn commented Oct 2, 2025

From directvt/vtm#819 (comment)

When a window resize event is received (terminal generates WINDOW_BUFFER_SIZE_EVENT event when switching between alternate/normal buffer mode), the variable text_len=0 may accidentally decrease by one and become text_len=-1

potentially fixes PowerShell/Win32-OpenSSH#2275

From directvt/vtm#819 (comment)

> When a window resize event is received (terminal generates WINDOW_BUFFER_SIZE_EVENT event when switching between alternate/normal buffer mode), the variable text_len=0 may accidentally decrease by one and become text_len=-1

potentially fixes PowerShell/Win32-OpenSSH#2275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strange character sequences (ANSI escape sequences?) leaking into shell prompt when starting/attaching Tmux
1 participant