cursor property

  1. @override
CursorStyle get cursor
override

The current text style (the SGR pen): a new copy on every read, so changing it does not change the terminal; use setCursorBold and the other methods for that.

Implementation

@override
CursorStyle get cursor {
  final style = _vt.cursorSgrStyle;
  return CursorStyle(
    foreground: packColor(style.foreground),
    background: packColor(style.background),
    attrs: packAttributes(style),
  );
}