I cannot even try any of this stuff here, but I did lookup newwin() on the net, and every reference I found lists 4 parameters for the call?
The thing that intrigues me about your C version in the OP, is that you get a SCREEN *s returned from newwin(), but you make no use of it in your calls to addch() and the rest.
If you had created two SCREENs, how would those other calls know which of them they were supposed to be affecting?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
addch is a macro that works on 'stdscr', newterm sets stdscr to be the latest created screen. Or something fairly close to that.
| [reply] |