On Fri, Apr 01, 2011 at 03:06:09PM +0200, pancake wrote: > I executed the scripts in hg.youterm.com/toys/ansi to check for 256 > colors and > Another annoying thing I found in st is that text selection does not > reflects it > correctly until you release the mouse button, this is a bit annoying > because you > dont see what's going to be copied into the clipboard until it's too late.
Yes, the code for this was commented out, saying that "draw() can't keep up". It seems to work nicely for me, though, so barring complaints it would be nice to apply the attached patch. Nick
diff -r 7bae6f59e9f6 st.c --- a/st.c Sun Jan 23 12:30:01 2011 +0100 +++ b/st.c Fri Apr 01 14:40:19 2011 +0100 @@ -528,9 +528,7 @@ bmotion(XEvent *e) { if (sel.mode) { getbuttoninfo(e, NULL, &sel.ex, &sel.ey); - /* XXX: draw() can't keep up, disabled for now. - selection is visible on button release. - draw(1); */ + draw(1); } }