sandsifter
sandsifter copied to clipboard
256-color terminal required (make it work with putty)
Hello
I get errors when running the program from putty: terminal output is messed up and I get this message:
_curses.error: init_pair() returned ERR
as explained here: https://stackoverflow.com/questions/18551558/how-to-use-terminal-color-palette-with-curses
I had TERM=xterm-256color
To make it work I had to set TERM=xterm-256color
You could add a warning that the TERM value is not OK, or fall back to simpler colors.
I guess you meant: „I had TERM=xterm“, right?
At least, I can reproduce this issue setting TERM=xterm, and running ./sifter.py --unk --dis --len --sync --tick -- -P1 -texit.
yes that was what I meant :)