Source Code File 12-01_scrolling1
12-01_scrolling1.c
#include <ncurses.h>
int main()
{
char text[] = "This is some wrapping. ";
int x;
initscr();
for(x=0;x<100;x++)
{
addstr(text);
napms(100);
refresh();
}
getch();
endwin();
return 0;
}
Output Screenshot

Notes
* By default, Ncruses' windows (including the standard screen) do not scroll.
Copyright © 1997-2025 by QPBC.
All rights reserved
