#include #include #include int main() { /* these strings has 30 chars display width */ char *str1 = "└────────────────────────────┴"; char *str2 = "******************************"; char *str3 = "příliš žluťoučký kůň se napil "; setlocale(LC_ALL, ""); initscr(); cbreak(); keypad(stdscr, TRUE); curs_set(0); noecho(); move(5,5); addstr(str1); mvprintw(10, COLS - 30 - 1, str1); mvprintw(12, COLS - 30 - 1, str2); mvprintw(14, COLS - 30 - 1, str3); refresh(); getch(); endwin(); }