code: private void handleDeleteKey() throws IOException {
  		if (commandLineBuffer.size() > 0 && curPos < commandLineBuffer.size()) {
  			String curLine = overwriteCommandlineSkippingChar(curPos);
  			eraseLastCharAndMoveBack(curLine, curPos + 1);
  		}
  	}
docs: Rewrites the command line to show changes as a result of hitting the delete key
  when the cursor is positioned in the middle of the command line
  
  @throws IOException