So ive been playing around with inkey and for some reason the call isnt terminating when the user presses the enter key.

 Code:
if (!inkey_active)
{
  result = inkey(sPlayerName); // wait until [enter] pressed
			
  if (result == 13) 
  {
    iSetName 	= 0;
    iPlayGame 	= 1;
  }
}


I have seen that inkey_active would have been what i was after, but haven't really worked out how to use it with lite-c. The above is what i have so far