keith-packard / snek

Snek programming language for tiny systems
GNU General Public License v3.0
294 stars 30 forks source link

Snek 1.9 for Windows doesn't seem to support curses and stdscr #89

Open mobluse opened 4 months ago

mobluse commented 4 months ago

Snek 1.9 for Windows doesn't seem to support the curses module and the stdscr object like in Linux because I get this in Windows:

Welcome to Snek version 1.9
> curses.initscr()
<stdin>:1 undefined: curses.initscr
> stdscr.erase()
<stdin>:3 undefined: stdscr.erase

curses can be installed for CPython using pip install windows-curses. Then CPython curses programs for Linux runs in Windows.