diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-16 10:47:21 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-16 10:47:21 +0200 |
commit | 85849ce72aa4e9cee307a031b97777e9eba2d453 (patch) | |
tree | 31798999e662e16af5819c7b54dada0e60c61183 /TODO | |
parent | 15cc8754c2e272ebac6e86845859816e881da000 (diff) |
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(-)
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -15,7 +15,6 @@ code & interface * clean selection code * clean and complete terminfo entry -* remove the timeouts in the main loop bugs ---- |