diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-04 20:33:01 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-04 20:33:01 +0200 |
commit | 98b6f84bfcb63cff54f8aee87191432fa769346c (patch) | |
tree | 42ffa76c6d9c2d6442baed96e00f2020f17947b7 /st.1 | |
parent | 66669a558560c0ba3b5da4cd2009de81d68a2263 (diff) | |
download | st-98b6f84bfcb63cff54f8aee87191432fa769346c.tar.gz st-98b6f84bfcb63cff54f8aee87191432fa769346c.tar.bz2 st-98b6f84bfcb63cff54f8aee87191432fa769346c.zip |
Check alternative screen before drawing box selection
Some programs use the alternative screen (vi, less, ...), whose
content is different of the main screen. If you select text in one of
the screen, you don't wait the box selection is painted in the other
screen, so it is necessary check if the selection was done in the same
screen we are going to paint. Before to this commit, you could do
something like:
$ LESS="" ls | less
(select some code)
q
and selection box remains drawing in the main screen, but the content
of selection keeps text of the alternate screen.
---
st.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Diffstat (limited to 'st.1')
0 files changed, 0 insertions, 0 deletions