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(-)
		
			
				
	
	
		
			34 lines
		
	
	
		
			572 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			572 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
vt emulation
 | 
						|
------------
 | 
						|
 | 
						|
* implement BCE right
 | 
						|
* color definition in CSI
 | 
						|
	* implement CSI parsing
 | 
						|
* make the keypad keys really work
 | 
						|
	* kf0 .. kf44
 | 
						|
	* kend, kel, kent, kfnd, ked, kext
 | 
						|
	* kNXT, kPRV
 | 
						|
	* ka1, ka3, kb2
 | 
						|
 | 
						|
code & interface
 | 
						|
----------------
 | 
						|
 | 
						|
* clean selection code
 | 
						|
* clean and complete terminfo entry
 | 
						|
 | 
						|
bugs
 | 
						|
----
 | 
						|
 | 
						|
* handle XOpenMI() errors
 | 
						|
* fix shift up/down (shift selection in emacs)
 | 
						|
* fix selection click
 | 
						|
* fix selection paste for xatom STRING
 | 
						|
* fix umlaut handling in settitle
 | 
						|
* fix the scrolling issues in less 
 | 
						|
 | 
						|
misc
 | 
						|
----
 | 
						|
 | 
						|
    $ grep -nE 'XXX|TODO' st.c
 | 
						|
 |