st

simple terminal

git clone https://9o.is/git/st.git

commit 0313a4ad8bc9cf2b34971b59d90d5890ad45e55e
parent 3885086be6193036e3feceff063ffd2831fb491b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 23 Jun 2013 12:13:26 +0200

Remove unneded call to draw

draw is the function which update the Xwindow with the information st has,
and it is designed in a way that it must be called once in the main loop
(run function), and calling it in other places it is a waste of time.

Diffstat:
Mst.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/st.c b/st.c @@ -916,7 +916,6 @@ bpress(XEvent *e) { if(sel.snap != 0) { sel.mode++; tsetdirt(sel.nb.y, sel.ne.y); - draw(); } sel.tclick2 = sel.tclick1; sel.tclick1 = now;