UvTerminalRenderer class final

Low-level terminal renderer for the Ultraviolet engine.

This renderer is responsible for efficiently updating the terminal screen by diffing buffers and sending minimal ANSI escape sequences.

Constructors

UvTerminalRenderer(StringSink _writer, {List<String>? env, bool? isTty})

Properties

capabilities int
no setter
hashCode int
The hash code for this object.
no setterinherited
isFullscreenEnabled bool
no setter
isRelativeCursorEnabled bool
no setter
metrics RenderMetrics
Render performance metrics (FPS, frame times, render durations).
final
profile → Profile
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buffered() int
disableBracketedPaste() → void
disableFocusReporting() → void
disableMouseAllEvents() → void
enableBracketedPaste() → void
enableFocusReporting() → void
enableMouseAllEvents() → void
enterAltScreen() → void
erase() → void
exitAltScreen() → void
flush() → void
fullscreen() bool
height() int
hideCursor() → void
moveTo(int x, int y) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popKeyboardEnhancements() → void
Pops keyboard enhancements (Kitty Keyboard Protocol).
position() → ({int x, int y})
prependString(Buffer newbuf, String str) → void
pushKeyboardEnhancements(int flags) → void
Pushes keyboard enhancements (Kitty Keyboard Protocol).
queryBackgroundColor() → void
Queries the terminal background color.
queryColorPalette(int index) → void
Queries a color from the terminal palette.
queryKeyboardEnhancements() → void
Queries keyboard enhancements (Kitty Keyboard Protocol).
queryKittyGraphics() → void
Queries Kitty Graphics support.
queryPrimaryDeviceAttributes() → void
Queries primary device attributes.
redraw(Buffer newbuf) → void
render(Buffer newbuf) → void
resize(int width, int height) → void
restoreCursor() → void
saveCursor() → void
setBackspace(bool v) → void
setColorProfile(Profile profile) → void
setFullscreen(bool v) → void
setHasTab(bool v) → void
setLogger(void logger(String message)?) → void
setMapNewline(bool v) → void
setPosition(int x, int y) → void
setRelativeCursor(bool v) → void
setScrollOptim(bool v) → void
setTabStops(int width) → void
showCursor() → void
toString() String
A string representation of this object.
inherited
touched(Buffer buf) int
width() int
write(List<int> bytes) int
writeString(String s) int

Operators

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

Constants

capBs → const int
capCbt → const int
capCha → const int
capCht → const int
capEch → const int
capHpa → const int
capHt → const int
capIch → const int
capRep → const int
capSd → const int
capSu → const int
capVpa → const int