ShellLinesController constructor

ShellLinesController({
  1. Encoding? encoding,
})

Create a shell lines controller.

Implementation

ShellLinesController({Encoding? encoding}) {
  this.encoding = encoding ?? shellContext.encoding;
  // Must be sync!
  _controller = StreamController<List<int>>(sync: true);
}