* CSI s * ESC 7 * Save cursor (ANSI.SYS). * * @vt: #P[TODO...] CSI SCOSC "Save Cursor" "CSI s" "Save cursor position, charmap and text attributes." * @vt: #Y ESC SC "Save Cursor" "ESC 7" "Save cursor position, charmap and text attributes."
(params?: IParams)
| 2896 | * @vt: #Y ESC SC "Save Cursor" "ESC 7" "Save cursor position, charmap and text attributes." |
| 2897 | */ |
| 2898 | public saveCursor(params?: IParams): boolean { |
| 2899 | this._activeBuffer.savedX = this._activeBuffer.x; |
| 2900 | this._activeBuffer.savedY = this._activeBuffer.ybase + this._activeBuffer.y; |
| 2901 | this._activeBuffer.savedCurAttrData.fg = this._curAttrData.fg; |
| 2902 | this._activeBuffer.savedCurAttrData.bg = this._curAttrData.bg; |
| 2903 | this._activeBuffer.savedCharset = this._charsetService.charset; |
| 2904 | return true; |
| 2905 | } |
| 2906 | |
| 2907 | |
| 2908 | /** |
no outgoing calls
no test coverage detected