How to handle user input

Thanks for the reply.

Working on this terminal software(Java mode) and am adding commands for user customization .e.g. (Font type, Color scheme, Language). Mainly to keep UI from being cluttered. The commands would be pretty simple for instance.

if (input == "f-unifont") {
  systemFont = "unifont";
}


So an if statement might not be the worst.

I see now that switch statements won’t work with strings(input from software is string type) so that one is out.