Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

905 B
Raw Blame
/// Local UI boundary for controls that operate on the rendered terminal but
/// do not travel to the remote tmux pane.
abstract interface class TerminalViewport {
  /// One report from the hardware dial.
  ///
  /// [phase] is 0 (down), 1 (move), or 2 (up). [dy] is the movement in glass
  /// pixels and [velocity] is glass pixels per second at release.
  void scroll(int phase, int dy, int velocity);

  /// Claims an already mounted editor before navigation's next rendered frame.
  /// False means the destination has no ready input view yet.
  bool focusInput();

  /// Empties the software keyboard's own copy of what was typed, after the
  /// prompt has been cleared on the far side. Left holding the old words, the
  /// keyboard would edit them again — Vietnamese Telex re-marks the word it
  /// thinks is being typed, and would rub out characters already gone.
  void clearInputBuffer();
}