pub unsafe fn replace_panel(pan: PANEL, win: WINDOW) -> i32
https://invisible-island.net/ncurses//man/panel.3x.html