reflowEnabled property

  1. @override
bool reflowEnabled
getter/setter pairoverride-getter

Whether the terminal performs reflow when the viewport size changes or simply truncates lines. true by default.

Applies to resize only: a TerminalView that resizes the terminal always reflows. Without reflow, libghostty-vt drops the cells beyond a narrower width (xterm keeps them for a later, wider resize).

Implementation

@override
bool reflowEnabled;