| 33 | public static cursorBack(n = 1) { return n > 0 ? CSI + n.toString() + 'D' : ''; } |
| 34 | public static clearAll() { return CSI + '2J' + CSI + '3J' + CSI + ';H'; } // Kill entire buffer and set cursor postion to 1,1 |
| 35 | public static clearScreen() { return CSI + '2J' + CSI + ';H'; } // Kill the visible part of the screen |
| 36 | public static deleteChar() { return CSI + 'P'; } |
| 37 | public static deletePrevChar() { return ACTIONS.cursorBack() + ACTIONS.deleteChar(); } |
| 38 | public static deleteCurrChar() { return ACTIONS.deleteChar(); } |