-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autosuggestions are hard to read on old windows cmd.exe #13519
Comments
Do you know how to detect this ? |
No guarantees, but the following seems to work: use |
I'm a VM-only windows user, but: use of the new windows terminal is so life-changing to that experienece vs |
I know, I use the windows terminal whenever I can, but some machines (e.g. tethered to specific lab equipement items) are effectively non-upgradeable. |
The old cmd.exe does not support dim text (see e.g. tartley/colorama#305 -- which admittedly only shows that a popular text-coloring library does not support dim text on Windows, but still...), so autosuggestions are rendered as normal text, which makes the whole thing rather difficult to read (you end up with a block of white text and a cursor in the middle as if in "text replace" mode).
I would suggest to detect this setup and disable autosuggestion by default in that case (or make enable_autosuggestion a tri-state True/False/"auto" (i.e. True except on cmd.exe)).
Note that things render just fine on the more modern windows terminals.
The text was updated successfully, but these errors were encountered: