restoreCursor method
void
restoreCursor()
Implementation
void restoreCursor() {
if (_savedCellFlags != null) {
_terminal.cursor.flags = _savedCellFlags!;
}
if (_savedCellFgColor != null) {
_terminal.cursor.fg = _savedCellFgColor!;
}
if (_savedCellBgColor != null) {
_terminal.cursor.bg = _savedCellBgColor!;
}
if (_savedCursorX != null) {
_cursorX = _savedCursorX!;
}
if (_savedCursorY != null) {
_cursorY = _savedCursorY!;
}
charset.restore();
}