bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Portable way to handle ncurses extensions?


From: Bryan Christ
Subject: Portable way to handle ncurses extensions?
Date: Mon, 27 Jan 2020 16:09:18 -0600

Is there a way to gracefully handle the use of extensions?  Basically, if init_extended_color() exists I would like to use it over init_color() when possible.  I thought the NCURSES_EXT_FUNC definition would help me with that, but it seems it's always defined so linking fails when the actual function doesn't exist.  Before I go down the time suck path of using dlopen() and friends to run-time map... is there a better way of doing this?

--
Bryan
<><

reply via email to

[Prev in Thread] Current Thread [Next in Thread]