Open tdmalone opened 7 years ago
Given it doesn't display color, I wonder if it supports ANSI code at all. If it doesn't, then I don't think it'd ever be possible for us to support this terminal.
Thanks for the reply. I should've mentioned - it does support colour in other contexts (eg. git logs are coloured), but there seems to be an issue with chalk detecting that it supports colour so therefore chalk doesn't output colour (not being aware of the specifics behind it all I'm not sure whether this impacts you or not!)
I found a related issue for chalk: https://github.com/chalk/supports-color/issues/36. They eventually decided it's a wontfix, as I understand it they just couldn't reliably detect if it was a TTY or not.
@tdmalone set FORCE_COLOR property to TRUE (Properties of the system -> Additionally -> Environment variables)
Thanks @Grigory90! That most definitely fixes the colour issue. The double questions with Inquirer still remain, though:
@tdmalone Yes, double questions, this is problem :(
Not sure if this is directly related, but in addition to the double questions, it doesn't seem like password inputs are hidden on MINGW64:
I know MINGW isn't on your list of supported consoles, but as you mentioned you're open to issues from non-supported consoles...
In MINGW32 things work great:
However in MINGW64, each question is repeated - firstly with the default answer in brackets plus my answer, and then just with my answer:
(ignore the colour differences, that's probably an issue with chalk).
If I had to hazard a guess, it's treating the modified output as a new line rather than the same line, and possibly needs just a carriage return but not a line feed? (if I have the terminology right)