On Sun, Sep 16, 2012 at 11:51 AM, Aurélien Aptel
<aurelien.ap...@gmail.com> wrote:
> - try to read data for SELECT_TIMEOUT ms max
> - if something was read, handle it in the term
> - if something was read and the last call to draw was more than
> DRAW_TIMEOUT ms ago then redraw.

In retrospect, the Right Thing would be to have the SELECT_TIMEOUT
only if something is waiting to be redrawn i.e. after a call to draw,
always use select() with a NULL timeout.

Reply via email to