588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
|
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
|
-
+
|
if (inbuf_head)
term_out();
term_update();
ShowCaret(hwnd);
if (!has_focus)
timer_id = SetTimer(hwnd, 1, 59500, NULL);
else
timer_id = SetTimer(hwnd, 1, 250, NULL);
timer_id = SetTimer(hwnd, 1, 100, NULL);
long_timer = 1;
/* There's no point rescanning everything in the message queue
* so we do an apperently unneccesary wait here
*/
WaitMessage();
if (GetMessage (&msg, NULL, 0, 0) != 1)
|