How to handle user input

Ahhh a minimum information problem :grin:

To get a useful answer you might want to include more information such as

  • What Processing mode are you using e.g. Java, Python, p5js … ?
  • What sort of commands are to being handled e.g. OS system commands … ?
  • Some context to the application area.