JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix selection clearing
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 23 Jun 2013 10:09:19 +0000 (12:09 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Thu, 4 Jul 2013 07:14:50 +0000 (09:14 +0200)
commitebbac77d7416d365a2a33f159780ef0f06cc3351
treeeb2a09055418bea363d6bcc9f33ed2f1d4071816
parent7af030c999ba87cad2f3155bb9f58bf2854ad2bb
Fix selection clearing

The way st knows if there is a selection activated is checking if sel.ob.x
is equal to -1. In some parts of the code the way of disabling the selection
was only setting it to -1, but after it you can't be sure if the selection
is clearing from the terminal representation, because it is necessary mark
all the lines affected by the selection as dirty. Already there is a functon
which perform this task, selclear.
st.c