]> Sergey Matveev's repositories - st.git/commit
Fix selection bug
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 16 Sep 2012 08:49:12 +0000 (10:49 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 16 Sep 2012 08:49:12 +0000 (10:49 +0200)
commit6bf6ef46f2e1107e643b5678c3408236d0f2e6d5
treebf00fb7f81c9c78d768e11054cd988fabb3d7ab5
parentc624bb570317bd93dadc8f9914e013ef94e27156
Fix selection bug
After the commit named "Remove timeout in the main loop", selection is not
working in the proper way. After selecting something, press mouse button in
a line outside of selection causes an incorrect highlight. This patch fix
the problem forcing a draw after the press event, but this is only a fast
hack. Real solution means rewriting selection code.
---
 st.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
st.c