WSL issue, vi, vim and nano are unusable (empty terminal screen) (same isue with ubuntu 20 or debian on wsl)

Try to set $TERM to xterm-color. With this change I got vi, vim and nano working.

export TERM=xterm-color

and try your favorite editor again. And to make it permanent add it to your ~/.profile or ~/.bashrc

This started after installing Cumulative update for Windows Server 2019 (KB5007206). Also removing this update I was able to get vi, vim and nano working on WSL.