setSynchronizedOutput method

void setSynchronizedOutput(
  1. bool v
)

Enables or disables synchronized terminal updates (DECSET 2026).

When enabled, each rendered frame is wrapped between UvAnsi.beginSynchronizedUpdate and UvAnsi.endSynchronizedUpdate so compatible terminals present the frame atomically.

This is opt-in and disabled by default for parity with upstream outputs.

Implementation

void setSynchronizedOutput(bool v) {
  if (v) {
    _flags |= _Flag.synchronizedOutput;
  } else {
    _flags &= ~_Flag.synchronizedOutput;
  }
}