Subject: bug#45042: 27.1; emacs -nw on Windows does not always update cursor position on screen

From: Eli Zaretskii <[email-masked]>
Date: Sat, 05 Dec 2020 09:40:48 +0200

> From: Ed Avis <[email-masked]>
> Date: Fri, 4 Dec 2020 18:53:28 +0000
> 
> Is there something Emacs can do to make sure the cursor
> position on screen is always updated?

Someone who has access to such systems will have debug the functions
in w32console.c and see what isn't working in those cases.  As you can
see, we just use SetConsoleCursorPosition, an API that is supposed to
be agnostic to the terminal emulator running, as long as it emulates
the w32 console well enough.

Or maybe these terminal emulators set TERM to some value that dupes
Emacs into incorrect operation?  If so, try unsetting TERM.