()
| 389 | } |
| 390 | |
| 391 | private killLineFromCursor() { |
| 392 | const n = this.curLine.length - this.cursorPos + 1; |
| 393 | if (n > 1) { |
| 394 | this.writeEmitter.fire(ACTIONS.killLineForward()); |
| 395 | this.curLine = this.curLine.slice(this.cursorPos - 1, n); |
| 396 | } |
| 397 | } |
| 398 | |
| 399 | private killCurrChar() { |
| 400 | if (this.cursorPos <= this.curLine.length) { |
no test coverage detected