st

simple terminal

git clone https://9o.is/git/st.git

commit 747d5c8214ffb7cc46772f11eff00709b24a2feb
parent ea336ff8c7c56db3c43c7baa4299c3bbd8aa9d1e
Author: Colona <colona@ycc.fr>
Date:   Thu, 24 Apr 2014 20:35:41 +0200

On terminal resize, clear the alt screen with its own cursor.

Currently the alternate screen get messed up on resize if it has
different colors or mode.

Diffstat:
Mst.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/st.c b/st.c @@ -2674,7 +2674,9 @@ tresize(int col, int row) { if(0 < col && minrow < row) { tclearregion(0, minrow, col - 1, row - 1); } + tcursor(CURSOR_SAVE); tswapscreen(); + tcursor(CURSOR_LOAD); } while(orig != term.line); return (slide > 0);