endPtyHold method
Implementation
void endPtyHold({bool flush = true}) {
if (_ptyHoldDepth <= 0) return;
_ptyHoldDepth--;
if (_ptyHoldDepth != 0) return;
if (!flush) {
_heldPty = null;
return;
}
final held = _heldPty;
_heldPty = null;
if (held != null) {
_hostPtyResize?.call(held.cols, held.rows);
} else if (committed != null) {
final c = committed!;
_hostPtyResize?.call(c.columns, c.screenLines);
}
}