MCPcopy Create free account
hub / github.com/Marus/cortex-debug / deleteChar

Method deleteChar

src/frontend/pty.ts:36–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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(); }
39 public static killLineForward() { return CSI + 'K'; }

Callers 2

deletePrevCharMethod · 0.80
deleteCurrCharMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected