Screen clearing in CMD without "Legacy Console Mode"

Jack Adrian Zappa
Fri Apr 30 18:00:01 GMT 2021

On Fri, Apr 30, 2021 at 1:31 PM Takashi Yano via Cygwin <>

> Why on earth do you want to set TERM=cygwin?
> If you don't set TERM=cygwin, TERM is automatically set to
> xterm-256color, in which the issue does not occur.

Might be because for the longest time, if you didn't set it to cygwin, it
would mess up the line editing in the shell if your line would exceed a
certain length (I think 80 chars)

More information about the Cygwin mailing list