select from a small amount of options in spring shell
问题 I am currently trying to make an cli app with Spring Shell. I want the user to able to fast pick one of 2-3 options. My current code works fine in eclipse but when I start it in Powershell, i have to hit enter multiple times (at least 3 times) in order to select the option. After pressing enter once, nothing happens. My current Method: @ShellMethod(key = { "setService", "select" }, value = "Choose a Speech to Text Service") public void setService() { boolean success = false; do { this.console