as the button's function, use:
void stop_input()
{
inkey_active = 0;
}

that'll stop the input.


~"I never let school interfere with my education"~
-Mark Twain