VT parser's "should process character by character" flag is a singleton #4330

Open
opened 2026-01-30 23:44:19 +00:00 by claunia · 0 comments
Owner

Originally created by @DHowett-MSFT on GitHub (Oct 8, 2019).

0691c21876/src/terminal/parser/stateMachine.cpp (L1351-L1355)

Because of this, in...

  • conhost: VT input and VT output can cause eachother to switch into and out of stateful processing
  • Windows Terminal: Two tabs emitting VT at the same time can cause VT tearing, where the parser gives up partway through one tab's sequence because another tab completed parsing one.
Originally created by @DHowett-MSFT on GitHub (Oct 8, 2019). https://github.com/microsoft/terminal/blob/0691c21876229dc573a18473ca04bfc78c0d6803/src/terminal/parser/stateMachine.cpp#L1351-L1355 Because of this, in... * conhost: VT input and VT output can cause eachother to switch into and out of stateful processing * Windows Terminal: Two tabs emitting VT at the same time can cause VT tearing, where the parser gives up partway through one tab's sequence _because another tab completed parsing one._
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4330