63 likes
路
372 reads
2 comments
路Feb 9, 2023
Feb 9, 2023
I tried putting the menu in a loop.
read_line() appends to the String choice so the newly given input won't be processed.
To deal with this, call the choice.clear() before calling read_line() in the loop.
1
路
路1 reply
Author
路Feb 11, 2023
Correct!
路