89882d90f3
The card's output area is now an xterm.dart emulator kept per run by the controller: it is fed the raw stream in order, takes typing and paste while the command runs (with a key toolbar and a soft-keyboard field on touch platforms), resizes the process to its layout, opens printed links, shrinks finished runs to their output and opens full screen. A reconnect resumes from the byte the card holds; Copy output copies the server's plain text.
6 lines
342 B
Dart
6 lines
342 B
Dart
/// The one layout bound of a shell command card: how many terminal rows its
|
|
/// output area shows. A running command's terminal has this many rows; a
|
|
/// finished one shrinks to the rows its output uses, up to this many, and
|
|
/// scrolls within them. Full screen takes the whole window instead.
|
|
const int kChatShellOutputCollapsedLines = 12;
|