line at the end of the file and committed, and left a really
long commentary. I always do.
Anyway, I fixed the lagging key problem, unfortunately, I can't
explain why it works, so I expect some larger vaguely sinister problem
is going on and my fix hacks a solution without fixing the problem.
int scr_getc(void)
{
+ char buf;
#ifdef HAVE_CURSES_H
/* This looks scary, the program will hang if mainwindow is null */
if (mainwindow)
return wgetch(mainwindow);
#endif
- return getchar();
+ buf = '\0';
+ read (0, &buf, 1);
+ return buf;
}
int scr_blockread(void)