VtTerminalFormatter class final

Reusable formatter for a VtTerminal.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Releases formatter resources.
formatBytes() Uint8List
Formats the terminal into a byte buffer.
formatBytesAllocated() Uint8List
Formats the terminal using ghostty_formatter_format_alloc.
formatBytesAllocatedWith(VtAllocator allocator) Uint8List
Formats the terminal using ghostty_formatter_format_alloc and allocator.
formatText({Encoding encoding = utf8}) String
Formats the terminal and decodes the bytes into a Dart string.
formatTextAllocated({Encoding encoding = utf8}) String
Formats via formatBytesAllocated and decodes the result.
formatTextAllocatedWith(VtAllocator allocator, {Encoding encoding = utf8}) String
Formats via formatBytesAllocatedWith and decodes the result.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited