Why is curses not fully functional on Windows7, like on Linux?

Can get ascii text menus program,textpad to work. But newwin() or panel() fail to work correctly.

example newwin() program

import curses

stdscr = curses.initscr()

#      This Works on Linux fine, but not on Windows7 Pro

def main( stdscr ):

curses.start_color()
curses.noecho()
curses.cur_set(1)
curses.cbreak()

win1 = curses.newwin( 24, 42, 3, 3 )
win1.box()
win1.move( 7,  3 )
win1.addstr(   "Hey there!" )

win1.refresh()

running = True
while( running ):
    key = win1.getch()
    if(key == 27 ):
         running = False
         break

main( stdscr )

curses.endwin()

Show only shell with blunking cursor at 0,0

Hi @RiverRat!

Thanks for writing! curses programming is a bit outside of our area of expertise.

I’m betting that https://stackoverflow.com/ is a better place to get support on the specific intersection of curses and Windows.

Good luck!