Pass TERM as xterm to "vagrant ssh" because Debian doesn't know TERM "mintty".
--- a/.bashrc Tue Apr 06 12:58:34 2021 +0300
+++ b/.bashrc Tue Jun 01 11:55:32 2021 +0300
@@ -180,7 +180,10 @@
cygwin) alias docker-machine='CYGWIN= docker-machine' ;;
esac
case $TERM in
- mintty*) alias ssh='TERM=xterm ssh' ;;
+ mintty*)
+ alias ssh='TERM=xterm ssh'
+ alias vagrant='TERM=xterm vagrant'
+ ;;
esac
# --blank-lines-after-procedures --break-before-boolean-operator --braces-on-if-line --braces-on-struct-decl-line