#1063528 calling less PAGER a second time after resizing the terminal does not use new size

#1063528#5
Date:
2024-02-09 13:10:00 UTC
From:
To:
- Start with a 80x24 terminal
- Set "export PAGER=less"
- Open "ipython3"
- Run "import os"
- Run "os??"
- Press "q" to quit pager
- Maximize terminal window
- Run again "os??"
- Scroll view with pagedown/pageup

With xterm, the text scrolled is clipped into a 80x24 area in the
top-left area corner, which is suboptimal.

With several libvte-based terminals, scrolling down displays a new 80x24
page of the text but below the previous page. Scrolling up does very
confusing things, which is worse.