TerminalAccessoryBar class

An on-screen key bar for the terminal, giving touch devices the keys a soft keyboard lacks — Esc, Tab, arrows, Home/End/PgUp/PgDn, common symbols — plus Copy/Paste and a Ctrl combinations menu. Keys inject their byte sequences through the TerminalKeys surface (the interactive shell), and taps avoid stealing focus from the terminal so typing continues uninterrupted.

Ctrl works as a one-tap quick key for the last-used combination (defaulting to Ctrl-C) next to a Ctrl ▾ button that opens a popup with common combos, a custom single-character entry, and a sticky "next key" modifier.

Constructors

TerminalAccessoryBar({required TerminalKeys keys, required TerminalView term, required ClipboardReader clipboardRead, required ClipboardWriter clipboardWrite, required void onToast(String message)})
Builds the bar.

Properties

clipboardRead ClipboardReader
final
clipboardWrite ClipboardWriter
final
element ↔ HTMLElement
The bar's root element.
latefinal
hashCode int
The hash code for this object.
no setterinherited
keys TerminalKeys
final
onToast → void Function(String message)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
term TerminalView
final

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