https://gitlab.alpinelinux.org/alpine/aports/-/blob/94e4f6cecd9e3081b8c2749aba2f7e888b8dfdcb/community/retawq/ncurses-opaque.patch --- main.c +++ main.c @@ -4525,10 +4525,10 @@ #if TGC_IS_CURSES static my_inline void __curleft(void) -{ (void) move(stdscr->_cury, stdscr->_curx - 1); +{ (void) move(getcury(stdscr), getcurx(stdscr) - 1); } static my_inline void __curright(void) -{ (void) move(stdscr->_cury, stdscr->_curx + 1); +{ (void) move(getcury(stdscr), getcurx(stdscr) + 1); } #endif