Subj : Help with a JavaScript game To : Nightfox From : Digital Man Date : Mon Aug 15 2011 06:36 pm Re: Help with a JavaScript game By: Nightfox to Zarakava on Sun Aug 14 2011 10:37 pm > Re: Help with a JavaScript game > By: Zarakava to All on Sun Aug 14 2011 17:21:14 > > > With the console.inkey() command, no matter what the timeout, it always > > does console.pause() afterwards. > > console.getkey() works fine, but I would really prefer to have it > > timeout, a I'm having a loop check some conditions every second. Is > > there a way to get read of that console.pause() after the inkey? > > Looking at sbbsdefs.js, I see the following mode setting: > K_NOCRLF=(1<<9);/* Don't print CRLF after string input */ > > Have you tried specifying K_NOCRLF for the mode parameter of > console.inkey()? I haven't tried that myself, but it sounds like that may > do what you want.. Display console.inkey() doesn't display anything, that mode flag would no effect. digital man Synchronet "Real Fact" #63: Synchronet PCMS (introduced w/v2.0) is Programmable Command and Menu Structure. .