TerminalState class

This class holds a complete TerminalState as needed by the UI. The state held here is self-contained and has no dependencies to the source Terminal. Therefore it can be safely transferred across Isolate boundaries.

Constructors

TerminalState(int scrollOffsetFromBottom, int scrollOffsetFromTop, int bufferHeight, int invisibleHeight, int viewHeight, int viewWidth, Selection selection, String? selectedText, int backgroundColor, int cursorX, int cursorY, bool showCursor, int cursorColor, List<BufferLine> visibleLines, String composingString, TerminalSearchResult searchResult, String? userSearchPattern, TerminalSearchOptions userSearchOptions, bool isUserSearchActive)

Properties

backgroundColor int
getter/setter pair
bufferHeight int
getter/setter pair
composingString String
getter/setter pair
consumed bool
getter/setter pair
cursorColor int
getter/setter pair
cursorX int
getter/setter pair
cursorY int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invisibleHeight int
getter/setter pair
isUserSearchActive bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollOffsetFromBottom int
getter/setter pair
scrollOffsetFromTop int
getter/setter pair
searchResult TerminalSearchResult
getter/setter pair
selectedText String?
getter/setter pair
selection Selection
getter/setter pair
showCursor bool
getter/setter pair
userSearchOptions TerminalSearchOptions
getter/setter pair
userSearchPattern String?
getter/setter pair
viewHeight int
getter/setter pair
viewWidth int
getter/setter pair
visibleLines List<BufferLine>
getter/setter pair

Methods

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