zsh - lots of blank space upon resizing VTE based terminals
Submitted by Denis
Link to original bug (#708213)
Description
Overview: It's about zsh and its behaviour when being run inside a VTE based terminal (e.g. gnome-terminal, xfce4-terminal, roxterm, sakura, ...).
lots of blank space upon resizing VTE based terminals
original thread about this bug was here https://bbs.archlinux.org/viewtopic.php?pid=1246865
Steps to Reproduce: run zsh with theme adam2 or change bash PS1 to this one PS1='\033[J\u@\h:\w$ ' then increase/decrease window height
Actual Results: When I increase the terminal height, if the buffer exceeds the window height, the content above won't get correctly shifted down, but simply blank space is added at the bottom.
On the contrary, when I decrease the terminal height, it does not simply remove the blank space at the bottom, but instead shifts up the buffer, keeping the blank space.
Expected Results: when window height is decreased, last terminal line must be always at the bottom of the window. when window height is increased, last terminal line must be on same line (from the top line) as it was before resizing.
patch that resolve this bug is in attachment.
Version: 0.34.x
Resolution: RESOLVED FIXED