diff options
author | Roberto E. Vargas Caballero | 2013-06-23 12:09:19 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2013-07-04 09:14:50 +0200 |
commit | ebbac77d7416d365a2a33f159780ef0f06cc3351 (patch) | |
tree | eb2a09055418bea363d6bcc9f33ed2f1d4071816 /LEGACY | |
parent | 7af030c999ba87cad2f3155bb9f58bf2854ad2bb (diff) | |
download | st-ebbac77d7416d365a2a33f159780ef0f06cc3351.tar.gz st-ebbac77d7416d365a2a33f159780ef0f06cc3351.tar.xz st-ebbac77d7416d365a2a33f159780ef0f06cc3351.zip |
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.
Diffstat (limited to 'LEGACY')
0 files changed, 0 insertions, 0 deletions