|XP is just a number|
Strange Curses behaviourby duncs (Beadle)
|on Nov 02, 2015 at 14:06 UTC||Need Help??|
duncs has asked for the
wisdom of the Perl Monks concerning the following question:
I am seeing "strange" behaviour when trying to grab user input within Curses v1.32.
I have created a small window and put some text in it, then drawn a box around the window - this works fine until I add the code to get input from the user, after which the box is no longer drawn.
I have seen this on Debian Jessie, Debian Lenny and RHEL-6.
Below is a small code example displaying this behaviour. If you run this code without args a box is drawn around the window. Provide an arg to the script so user input is sought and the box is no longer drawn around the window.
Any Curses guru's shed any light on this for me?