GhosttyTerminalSnapshot.fromFormattedVt constructor
Parses VT-formatted terminal output into styled lines and cursor state.
Implementation
factory GhosttyTerminalSnapshot.fromFormattedVt(
String text, {
int maxLines = 2000,
}) {
return _GhosttyTerminalSnapshotParser(maxLines: maxLines).parse(text);
}