Check if state change request was valid
Check if state change request was valid

Return 1 if valid, 0 if not valid (the character was not caught in the
switch statement); then invalid inputs can be ignored without
refreshing the screen

stollcri/nmond