Add terminalEraseLineBeforeCursor