From 85849ce72aa4e9cee307a031b97777e9eba2d453 Mon Sep 17 00:00:00 2001 From: "Roberto E. Vargas Caballero" Date: Sun, 16 Sep 2012 10:47:21 +0200 Subject: 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(-) --- TODO | 1 - 1 file changed, 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 1996137..c77c105 100644 --- a/TODO +++ b/TODO @@ -15,7 +15,6 @@ code & interface * clean selection code * clean and complete terminfo entry -* remove the timeouts in the main loop bugs ---- -- cgit v1.2.3