Closed OBenjaminT closed 2 years ago
they're just there for possible future expansion. i can't add fields to the struct
without breaking ABI, so i always have the flags
field, whether it's actively used or not. i'll add a note clarifying this, thanks!
updated header and man pages.
The
flags
field forncselector_options
andncmultiselector_options
are both processed like this insrc/lib/selector.c
:Implying that setting any value for them is wrong.
Both of their
typedef
s ininclude/notcurses/notcurses.h
and their man pages indoc/man/man3/notcurses_(multi)?selector.3.md
comment them asbitfield of NC(MULTI)?SELECTOR_OPTION_*
. and those are the only references toSELECTOR_OPTION
in the entire repo:What are they for? Why are they there? This is a
userquestion
because it's something I don't understand, but I think it should also be documented somewhere.