Skip to content
This repository was archived by the owner on Nov 11, 2018. It is now read-only.
This repository was archived by the owner on Nov 11, 2018. It is now read-only.

Curses/Blessings unsupported on windows  #3

@ThomasFitconnect

Description

@ThomasFitconnect

Krill crashes on windows.

The root cause of the crash is that curses is not on windows machines.

The library you are using for terminal manipulation (blessings) has an open issue on github for this here.

It looks like you are only using this to color/format text in the terminal. It may be worth looking into colorama which is cross platform.

If I have time I might try and implement this myself.

Traceback:

Traceback (most recent call last):
  File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python34\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python34\Scripts\krill.exe\__main__.py", line 5, in <module>
  File "C:\Python34\lib\site-packages\krill\krill.py", line 31, in <module>
    from blessings import Terminal
  File "C:\Python34\lib\site-packages\blessings\__init__.py", line 5, in <module>

    import curses
  File "C:\Python34\lib\curses\__init__.py", line 13, in <module>
    from _curses import *
ImportError: No module named '_curses'

Other than this minor issue I really like you code :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions