XtermTerminalDriver constructor

XtermTerminalDriver({
  1. required TerminalView term,
  2. required Stream<List<int>> input,
  3. required Stream<void> resizeEvents,
})

Creates a driver over term. input is the raw keystroke stream the host forwards while the IDE owns the screen (see WebShellHost.runFullScreen); resizeEvents fires when the terminal's column/row count changes.

Implementation

XtermTerminalDriver({
  required TerminalView term,
  required Stream<List<int>> input,
  required Stream<void> resizeEvents,
}) : _term = term,
     _input = input,
     _resizeEvents = resizeEvents;