Current method can't work in Windows Terminal as far as I know.
This is a way that already had been adopted in `dist/vim9.vim`.
closes: #20714
Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
-*os_win32.txt* For Vim version 9.2. Last change: 2026 Feb 14
+*os_win32.txt* For Vim version 9.2. Last change: 2026 Jul 22
VIM REFERENCE MANUAL by George Reilly
*WSL*
When using Vim on WSL (Windows Subsystem for Linux) the remarks here do not
apply, `has('win32')` will return false then. In case you need to know
-whether Vim is running on WSL you can use `exists('$WSLENV')`.
+whether Vim is running on WSL you can use `exists('$WSL_DISTRO_NAME')`.
==============================================================================
1. Known problems *win32-problems*