UvTerminalRenderer constructor

UvTerminalRenderer(
  1. StringSink _writer, {
  2. List<String>? env,
  3. bool? isTty,
})

Implementation

UvTerminalRenderer(this._writer, {List<String>? env, bool? isTty})
  : _env = env ?? const [],
    _term = Environ(env ?? const []).getenv('TERM'),
    _caps = _xtermCaps(Environ(env ?? const []).getenv('TERM')) {
  _cur = _Cursor(x: -1, y: -1);
  _saved = _cur.clone();
  _profile = _detectProfile(_env, isTty);
  _screen = _RendererScreen(this);
}