-print and pause

This commit is contained in:
jl777
2019-02-17 23:03:55 -11:00
parent 8ea12e7dde
commit ef554cc474

View File

@@ -162,7 +162,7 @@ readchar(struct rogue_state *rs)
c = rs->keystrokes[rs->ind++]; c = rs->keystrokes[rs->ind++];
while ( c == 'Q' && rs->ind < rs->numkeys ) while ( c == 'Q' && rs->ind < rs->numkeys )
{ {
fprintf(stderr,"Got 'Q' next (%c)\n",rs->keystrokes[rs->ind]); sleep(2); //fprintf(stderr,"Got 'Q' next (%c)\n",rs->keystrokes[rs->ind]); sleep(2);
if ( rs->keystrokes[rs->ind] == 'y' ) if ( rs->keystrokes[rs->ind] == 'y' )
return(c); return(c);
rs->ind++; rs->ind++;