Am Montag, dem 28.03.2022 um 15:00 +0300 schrieb Roman Riabenko: > gcc test.c -lncurses This is not a sufficient invocation to get ncurses working correctly.
$ ncursesw6-config --cflags -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 - I/gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses- 6.2.20210619/include $ ncursesw6-config --libs -L/gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses-6.2.20210619/lib -Wl,-rpath=/gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses- 6.2.20210619/lib -lncursesw $ pkg-config --cflags ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 - I/gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses- 6.2.20210619/include $ pkg-config --libs ncurses -Wl,-rpath=/gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses- 6.2.20210619/lib -lncursesw Cheers