@menu when [a] hasn't been clicked instead. [a] is a hard one to not have exit immediately since you probably click [a] after typing run to start the program. Normally this will exit the menu as soon as it is drawn because the button is still held down. I would also recommend not redrawing the whole screen every time through the loop, you don't need to for this program, just overwite > at the old