diff options
Diffstat (limited to 'contrib/less')
-rw-r--r-- | contrib/less/search.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/less/search.c b/contrib/less/search.c index ccc07bd..e81bce5 100644 --- a/contrib/less/search.c +++ b/contrib/less/search.c @@ -294,6 +294,7 @@ clear_attn() POSITION old_end_attnpos; POSITION pos; POSITION epos; + int moved = 0; if (start_attnpos == NULL_POSITION) return; @@ -321,8 +322,11 @@ clear_attn() (void) forw_line(pos); goto_line(slinenum); put_line(); + moved = 1; } } + if (moved) + lower_left(); } #endif |