Open EvilGrinUK opened 5 years ago
I believe equivalent functionality is provided by the msvcrt
module on windows.
Sorry for the issue.... As for now, this package works only on linux (I had the "platform" badge specified in the project readme). I will try making this package available on Windows when I have time.
Just tried out the msvcrt module and tested its getch() function. Seems like the getchar() function in utils.py needs to be rewritten for bullet to run on Windows. For example, the arrow keys on Windows are 224 + X, not a 3-key-combo as in Unix systems.
Also, Windows CMD does not seem to apply colors with "\u001b[31m". I think This library will be helpful to print color!
Maybe Docker is an easier way to solve this problem? https://github.com/Mckinsey666/bullet/pull/28
Maybe Docker is an easier way to solve this problem?
28
And why's that?
Do we have any workaround or alternative interactive prompt module that works on all platform ?
How about Msvcrt (all the Termios stuff) and os.system("cls") (allows support for ansi escape codes)
Any update of this?
Any update of this?
This projects is no longer being maintained.
Update: I published bullet including win support under: winBullet
.
Feel free to use it.
Hi,
bullet doesn't work on Windows as there is no termios module. I get the following stack trace when trying to run this example code under CPython 3.7.2 on Windows 10 v1803 Enterprise.
Confirmed from the ipython shell directly using the import command.