Remove timeout in the main loop

The main loop waits until there is some data to read in file descriptors of
the X server or the pseudo tty. But it uses a timeout in select(), which
causes that st awake each 20 ms, even it doesn't have something to do. This
patch removes this problem removing the timeout, which is not needed.
---
 TODO |    1 -
 st.c |   27 +++------------------------
 2 files changed, 3 insertions(+), 25 deletions(-)
This commit is contained in:
Roberto E. Vargas Caballero 2012-09-16 10:47:21 +02:00
parent 15cc8754c2
commit 85849ce72a
2 changed files with 3 additions and 25 deletions

1
TODO
View file

@ -15,7 +15,6 @@ code & interface
* clean selection code
* clean and complete terminfo entry
* remove the timeouts in the main loop
bugs
----