tui_refresh_cmd_win is no longer needed and can be replaced with a call to the refresh_window method.