Reputation: 498
I've been using NCURSES
library for my assignment, but there is one big problem with it.
I can't make it to show the scrollbars on the terminal window. I've tried anything I found here but none of them seems to work.
I found this code portion in StackExhcange but even this doesn't show schrollbars.
#include <ncurses.h>
int main(void)
{
int i = 0;
initscr();
scrollok(stdscr,TRUE);
while(i<500) {
printw("%3d - lots and lots of lines flowing down the terminal\n", i);
++i;
refresh();
}
getchar();
endwin();
return 0;
}
Is it a problem with elementaryOS because I've heard it's been modified.
Upvotes: 1
Views: 186
Reputation: 54563
Two possibilities:
For example, dialog does the latter. Here's an example:
Upvotes: 2