diff --git a/src/info/main.c b/src/info/main.c index 5426805ec..fb7282268 100644 --- a/src/info/main.c +++ b/src/info/main.c @@ -27,6 +27,9 @@ int main(void){ if((mstream = open_memstream(&mbuf, &len)) == NULL){ return EXIT_FAILURE; } + if(fprintf(mstream, "\n") != 1){ + return EXIT_FAILURE; + } notcurses_options nopts = { .flags = NCOPTION_NO_ALTERNATE_SCREEN, };