Commit 42be8dd
committed
mingw.c: fix alternate screen using TERM=xterm-256color
With a recent MinGW64 update, the terminal does not switch between main
screen buffer and alternate screen buffer correctly when TERM is set to
"cygwin". In particular, after less and vim end, the command prompt is
reset to the top of the terminal window and old text remains on the
screen.
My tests show that TERM=xterm-256color works as intended.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>1 parent 973699a commit 42be8dd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2822 | 2822 | | |
2823 | 2823 | | |
2824 | 2824 | | |
2825 | | - | |
| 2825 | + | |
2826 | 2826 | | |
2827 | 2827 | | |
2828 | 2828 | | |
| |||
0 commit comments