Add possibility to resize terminal with NCurses TUI