Problems with reentering curses mode #25

bpytlik opened this Issue Dec 18, 2012 · 1 comment


None yet
2 participants

bpytlik commented Dec 18, 2012

I'm having trouble with using ncurses as one mode of my program. Basically, sometimes I want to have a curses style interface, and sometimes I want a more traditional readline interface (with the initial interface being the non-curses one). I'm able to successfully start the ncurses interface the first time. If I close all the windows, I end up back at the readline interface as expected. When I try to return to the curses interface the next time though, the program aborts with this error:
Invalid number and/or types of arguments

I also tried using nc.leave and nc.restore, but there the problem is that after nc.leave finishes, the curses objects are consuming the characters coming in on stdin.

After poking around in the code a bit, I think the problems can be solved (i'm trying out the changes now). It left me wondering though if there was some interface I'm missing to do what I'd like to do.


bpytlik added a commit to bpytlik/node-ncurses that referenced this issue Dec 20, 2012


This comment has been minimized.

Show comment Hide comment

danielbprice Aug 23, 2013

+1 for fixing this, please!

+1 for fixing this, please!

@mscdex mscdex closed this in #26 Aug 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment