| 30 | public static cursorUp(n = 1) { return n > 0 ? CSI + n.toString() + 'A' : ''; } |
| 31 | public static cursorDown(n = 1) { return n > 0 ? CSI + n.toString() + 'B' : ''; } |
| 32 | public static cursorForward(n = 1) { return n > 0 ? CSI + n.toString() + 'C' : ''; } |
| 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 |