|
|
|
@ -278,8 +278,10 @@ static int
|
|
|
|
|
mselector_run(struct notcurses* nc, struct ncreader* reader, struct ncmultiselector* mselector){
|
|
|
|
|
const char text[] =
|
|
|
|
|
"NCMultiselector allows 0..n options to be selected from a list of n items.\n"
|
|
|
|
|
"A variety of plots are supported, and menus can be placed along the top and/or bottom of any plane. "
|
|
|
|
|
"Widgets can be controlled with the keyboard and/or mouse. They are implemented atop ncplanes, and these planes can be manipulated like all others.";
|
|
|
|
|
"A variety of plots are supported. "
|
|
|
|
|
"Menus can be placed along the top and/or bottom of any plane. "
|
|
|
|
|
"Widgets can be controlled with the keyboard and/or mouse. "
|
|
|
|
|
"They are implemented atop ncplanes, and these planes can be manipulated like all others.";
|
|
|
|
|
const int titers = get_word_count(text);
|
|
|
|
|
int ret = 0, dimy, dimx;
|
|
|
|
|
ncplane_dim_yx(notcurses_stdplane(nc), &dimy, &dimx);
|
|
|
|
|