GhosttyTerminalSnapshot.fromFormattedVt constructor

GhosttyTerminalSnapshot.fromFormattedVt(
  1. String text, {
  2. int maxLines = 2000,
})

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);
}