comparison rogue4/main.c @ 32:2dcd75e6a736

Fix the playback bug which was caused by CR/LF confusion
author elwin
date Tue, 16 Feb 2010 00:03:06 +0000
parents 09da55b986ca
children 24e6beb9e7aa
comparison
equal deleted inserted replaced
31:9223b6d7a243 32:2dcd75e6a736
281 signal(SIGTSTP, SIG_DFL); 281 signal(SIGTSTP, SIG_DFL);
282 kill(0, SIGTSTP); 282 kill(0, SIGTSTP);
283 signal(SIGTSTP, tstp); 283 signal(SIGTSTP, tstp);
284 #endif 284 #endif
285 crmode(); 285 crmode();
286 nonl();
286 noecho(); 287 noecho();
287 clearok(curscr, TRUE); 288 clearok(curscr, TRUE);
288 wrefresh(curscr); 289 wrefresh(curscr);
289 getyx(curscr, y, x); 290 getyx(curscr, y, x);
290 mvcur(y, x, oy, ox); 291 mvcur(y, x, oy, ox);
401 after = FALSE; 402 after = FALSE;
402 403
403 md_shellescape(); 404 md_shellescape();
404 405
405 noecho(); 406 noecho();
407 nonl();
406 crmode(); 408 crmode();
407 in_shell = FALSE; 409 in_shell = FALSE;
408 clearok(stdscr, TRUE); 410 clearok(stdscr, TRUE);
409 touchwin(stdscr); 411 touchwin(stdscr);
410 } 412 }