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 #177273 is a reply to message #177272] Sat, 03 March 2012 08:12 Go to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 03/02/2012 08:25 PM, Jerry Stuckle wrote:
> 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?

Yes, I switched over to doing that because of the messages. It's kind
of sad to have to, but that's how it goes. Thanks J.
[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 Dec 01 11:03:08 GMT 2024

Total time taken to generate the page: 0.04117 seconds