When typing stuff into the search panel, nothing is displayed.
The interesting thing is that when disabling A_UNDERLINE, everything but the first character is shown. No matter how I tried playing with set_form_sub, that one is never drawn.
I've tried comparing it to http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/forms.html#FFOWI but can't see anything that would stand out apart from the fact that win->r and win->c are uninitialized during pnl_init_all() so they are both 0. However, adding draw_screen() just before pnl_init_all() does not help in the slightest.
When typing stuff into the search panel, nothing is displayed.
The interesting thing is that when disabling
A_UNDERLINE, everything but the first character is shown. No matter how I tried playing with set_form_sub, that one is never drawn.I've tried comparing it to http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/forms.html#FFOWI but can't see anything that would stand out apart from the fact that win->r and win->c are uninitialized during
pnl_init_all()so they are both 0. However, addingdraw_screen()just beforepnl_init_all()does not help in the slightest.