Skip to content
Myr

fix(tea): don't query for synchronized output if the renderer is disabled

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ayman Bagabas · committed by Ayman Bagabas · parent d1c8c97 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:tea.go+1 added-1 removed
1082 unmodified lines
10831084 // Start the renderer.1085 p.startRenderer()10861087 if shouldQuerySynchronizedOutput(p.environ) {1087 if !p.disableRenderer && shouldQuerySynchronizedOutput(p.environ) {1088 // Query for synchronized updates support (mode 2026) and unicode core1089 // (mode 2027). If the terminal supports it, the renderer will enable1090 // it once we get the response.1091 p.execute(ansi.RequestModeSynchronizedOutput +
324 unmodified lines