Skip to content

Commit

Permalink
zoo: fewer newlines in exposition
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Aug 30, 2020
1 parent 566eb72 commit 2839904
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/demo/zoo.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ get_word_count(const char* text){
static int
selector_run(struct notcurses* nc, struct ncreader* reader, struct ncselector* selector){
const char text[] =
"Notcurses provides several widgets to quickly build vivid TUIs.\n\n"
"This NCReader widget facilitates free-form text entry complete with readline-style bindings.\n\n"
"NCSelector allows a single option to be selected from a list.\n\n"
"NCFdplane streams a file descriptor, while NCSubproc spawns a subprocess and streams its output.\n\n";
"Notcurses provides several widgets to quickly build vivid TUIs.\n"
"This NCReader widget facilitates free-form text entry complete with readline-style bindings.\n"
"NCSelector allows a single option to be selected from a list.\n"
"NCFdplane streams a file descriptor, while NCSubproc spawns a subprocess and streams its output.\n";
int titers = get_word_count(text);
int ret = 0, dimy, dimx;
ncplane_dim_yx(notcurses_stdplane(nc), &dimy, &dimx);
Expand Down Expand Up @@ -277,8 +277,8 @@ selector_run(struct notcurses* nc, struct ncreader* reader, struct ncselector* s
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\n"
"A variety of plots are supported, and menus can be placed along the top and/or bottom of any plane.\n\n"
"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.";
const int titers = get_word_count(text);
int ret = 0, dimy, dimx;
Expand Down

0 comments on commit 2839904

Please sign in to comment.