Skip to content

Conversation

o-sdn-o
Copy link

@o-sdn-o o-sdn-o commented Oct 4, 2025

PR Summary

  • Fix the SIGWINCH interrupt makes the write operation think its failed, and causes it to try again.
  • Remove the workaround with ignoring the first WINDOW_BUFFER_SIZE_EVENT event. Prevent duplicated login message #426

PR Context

xlink 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 errno becomes EINTR which causes the write operation think its failed.

Fixes PowerShell/Win32-OpenSSH#2275

Related to:

…, and causes it to try again.

xlink 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 errno becomes EINTR which causes the write operation think its failed.

potentially fixes PowerShell/Win32-OpenSSH#2275
@o-sdn-o
Copy link
Author

o-sdn-o commented Oct 4, 2025

@microsoft-github-policy-service agree

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