1 | #include <ncurses.h> |
2 | #include <locale.h> |
3 | #include <unistd.h> |
4 | #include <string.h> |
5 | |
6 | int main() |
7 | {
|
8 | setlocale(LC_ALL, ""); |
9 | |
10 | initscr(); |
11 | |
12 | char str[]={"Hello world!"}; |
13 | for(int i=0; i<strlen(str); i++) |
14 | {
|
15 | addch(str[i] | A_BLINK); |
16 | }
|
17 | refresh(); |
18 | getch(); |
19 | |
20 | endwin(); |
21 | return 0; |
22 | }
|
After compiling and executing this code, I do not see any flashing text, just output a string. Do you have the same thing? I'm writing on armv7