@Override
        public void keyPressed(KeyEvent e) {
            if(e.getKeyCode() == KeyEvent.VK_ENTER){
                String text = input.getText();
                data.setLastLine(text);
                if (response){
                    data.setText(text + "\n" +data.getText());
                }
                output.setText(data.getText());
                input.setText("");
            }
            
            if(e.getKeyCode() == 107 && e.isControlDown()){  //+
                fontSize++;
                updateFont();
            }
            if(e.getKeyCode() == 109 && e.isControlDown()){  //-
                fontSize--;
                updateFont();
            }
            if(e.getKeyCode() == 27 ){  //Esc
                System.exit(0);
            }

        }