New to NCurses, here.
I'm having a weird problem when trying to show an array that contains a sequence of identical characters (more than 6 in sequence), where the window only shows a single character from the sequence.
It happens with something as simple as:
#include <ncurses.h>
int main() {
char test[] = "AAAAAAA";
initscr();
addstr(test);
refresh();
getch();
endwin();
return 0;
}
(compiled using -lncurses)
Where it shows simply A
on the screen, instead of AAAAAAA
.
If anyone has insight on why this is happening it would be greatly appreciated, as I haven't been able to find a similar problem elsewhere.