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.master
parent
7af030c999
commit
ebbac77d74
1 changed files with 5 additions and 9 deletions
Loading…
Reference in new issue