Open olls opened 10 years ago
This might be useful http://code.activestate.com/recipes/134892/
Looks very similar to the one I'm using, it uses the same modules, I don't know if it has better compatibility, I havn't tested my current one on windows yet.
This one has compatibility for Unix and Windows. It works in Linux, haven't tried in Windows.
d834cc477588dec1e39729f6f795961411b7119c Fallbacks' for default characters in Canvas and Sprite
62e2d07d2d887c8c6d346fcc54dfeed45d1a90d6 Characters in Sprites which are not supported are now replaced with a ?
5a38e0557de412987d0be8c04e0c42f1722a3b28 Added @grit96's suggested code from above comment with some modifications to keep compatible with the rest of the code.
console.py is not compatible with Windows - fcntl module doesn't exist
Particularly with Unicode characters, they should switch to ASCII instead of erroring. Also the different modules such as
colors
,console
andnbinput
should test if possible if they are working and if not fail gracefully with fall backs.colors.py
console.py
nbinput.py