FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » determine if ncurses is active
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: determine if ncurses is active [message #177272 is a reply to message #177269] Sat, 03 March 2012 03:25 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 3/2/2012 4:10 PM, crankypuss wrote:
> Is there a function you can call to determine whether ncurses is between
> ncurses_init() and ncurses_end() without getting an error message?
>
> I'm using ncurses_baudrate() which returns false if uninitialized and
> ncurses_isendwin() to determine if ncurses_end() is done and that gives
> a correct answer as far as I can tell but ncurses_baudrate() issues a
> warning that it hasn't been initialized.

Can't you keep track of whether you've initialized your ncurses lib or not?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to place an image within another image at a certain position while retaining transparency using gd
Next Topic: Save Earth.... Avoidable Doomsday...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 21:46:03 GMT 2024

Total time taken to generate the page: 0.04629 seconds