title: Java: "History" for cli commands, how to make ouput "editable"?
body: <p>I want to add a "history" function to my java programm, like known from bash etc, so pressing the arrow keys should show previous send commands.</p>
  
  <p>It's no problem to write the past commands to the default output, which will in three new lines if arrow up is hit three times and in not editable output. I want the output of the programm to be written in the input field so i just have to hit enter, to resend the command.</p>
  
  <p>Is this possible?</p>
  
  <p>Kind Regards</p>