Skip to content

Stop leaking CPR sequences#19620

Merged
DHowett merged 1 commit intomainfrom
dev/lhecker/19609-leaked-cpr
Dec 5, 2025
Merged

Stop leaking CPR sequences#19620
DHowett merged 1 commit intomainfrom
dev/lhecker/19609-leaked-cpr

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Dec 5, 2025

Due to the IsVtInputEnabled early return, we'd skip
the _captureNextCursorPositionReport by accident.

Closes #19575
Closes #19609

Comment on lines +401 to +404
if (vtInputEnabled)
{
return false;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more verbose than before, but also easier to understand IMO and only 2 more checks than before (3 id comparisons VS 5 if conditions).

@DHowett DHowett enabled auto-merge (squash) December 5, 2025 21:05
@DHowett DHowett merged commit 224ac9d into main Dec 5, 2025
18 of 20 checks passed
@DHowett DHowett deleted the dev/lhecker/19609-leaked-cpr branch January 15, 2026 17:10
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.

Escape sequences appearing on new Ubuntu panes Any shortcut prints random signs (even when window is not active)

2 participants