void (@NotNull String command) { TtyConnector connector = myWidget.getTtyConnector(); byte[] array = new byte[command.length()]; Arrays.fill(array, Ascii.BS); try { connector.write(array); } catch (IOException e) { LOG.info("Cannot clear shell command " + command, e); } }