[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble with wattr_set()
From: |
Tim Allen |
Subject: |
Re: Trouble with wattr_set() |
Date: |
Mon, 28 Jan 2019 12:39:49 +1100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, Jan 27, 2019 at 12:27:46PM -0600, Bryan Christ wrote:
> I assumed the ncurses version (6.1) would be congruent with ABI 6.
> Right now I am doing #ifdef NCURSES_EXT_COLOR but maybe there's a
> better way?
The ABI reflects how your executable interfaces with the ncurses
library; whether your application uses ABI 6 depends entirely on what
your distro provides.
The API reflects what functions your can call in your source-code. As
far as I know, you should check for NCURSES_EXT_COLOR before assuming
you can draw more than 16 foreground or background colours;
NCURSES_EXT_FUNCS before assuming you can use any ncurses-specific APIs
like use_default_colors() or init_extended_pair(), and
NCURSES_MOUSE_VERSION >= 2 before assuming you can receive scroll-wheel
events. There may be others.
- Re: Trouble with wattr_set(), (continued)
- Re: Trouble with wattr_set(), sunnycemetery, 2019/01/19
- Re: Trouble with wattr_set(), Bryan Christ, 2019/01/21
- Re: Trouble with wattr_set(), Timothy Allen, 2019/01/21
- Re: Trouble with wattr_set(), Bryan Christ, 2019/01/25
- Re: Trouble with wattr_set(), Timothy Allen, 2019/01/25
- Re: Trouble with wattr_set(), Thomas Dickey, 2019/01/26
- Re: Trouble with wattr_set(), Bryan Christ, 2019/01/26
- Re: Trouble with wattr_set(), Timothy Allen, 2019/01/26
- Re: Trouble with wattr_set(), Thomas Dickey, 2019/01/26
- Re: Trouble with wattr_set(), Bryan Christ, 2019/01/27
- Re: Trouble with wattr_set(),
Tim Allen <=