@Override
        public String handle(String cmd) {
            if (cmd.equals("clear")) {
                setText("");
            } else {
                return "unknown command '" + cmd + "'\n";
            }
            return null;
        }