terminal/terminal_accessory library

Classes

TerminalAccessoryBar
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.

Functions

defaultClipboardRead() Future<String?>
The default clipboard reader over navigator.clipboard (secure contexts).
defaultClipboardWrite(String text) Future<void>
The default clipboard writer over navigator.clipboard.

Typedefs

ClipboardReader = Future<String?> Function()
Reads the system clipboard (used by the Paste key). Returns null when empty or unavailable.
ClipboardWriter = Future<void> Function(String text)
Writes text to the system clipboard (used by the Copy key).