(command_loop_1): Use an int for last_command_char.