-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Hi,
I saw in #101 that you don't intend to support Windows, nonetheless I tried to use it at work and it almost works! If you're OK with it, I can list issues and maybe submit a PR for that:
- you need to install
windows-curses -
curses.init_pair(0, curses.COLOR_BLACK, bg)raises an exception on windows. Not sure what this code is for, but for now I commented that code. A warningEnhanced colors failed to loadappears everytime I quit. curses.init_pair(0) raises ERR zephyrproject-rtos/windows-curses#10 - this code expects
os.environ["TERM"]to always be present but that's not the case on Windows. Maybe we could useos.environ.get("TERM", "")instead? - backspace key is toggling help instead of removing last character. edit: It seems that keycodes are retrieving from
windows-cursesbut it never returns keycode,backspacehasord()=8similarly toctrl+hhence the help toggle. chr() returns same value for ctrl+h and backspace zephyrproject-rtos/windows-curses#9 - probably related, but typing
[enter]inserts a new space instead of a new line (it behaves like[space]). --> actually no,key_mappings.pymust be updated to support^Mto behave like\n. - I have not looked for an equivalent of xclip/xsel/pbcopy for windows yet, hence a warning everytime I quit suplemon. edit: clipboard package could do the trick
- It fails to load
Cryptomodule.You have to installI actually managed to make suplemon happy:pip install pycryptobut it requires VisualStudio build tools that I cannot install since I am not admin on my machine. I'll test on another machine for this.pip uninstall crypto ; pip install pycryptodome.
If interested, I'll continue my investigation to see what's working and what's not in the upcoming days.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels