avoid ctrl_nhwindow-related impossible

Remove the impossible(), so that new functionality can be added
incrementally without requiring every window-port to be visited up front.
This commit is contained in:
nhmall
2023-11-16 21:00:59 -05:00
parent ce587ac3b0
commit a82a897da3
5 changed files with 11 additions and 9 deletions

View File

@@ -809,11 +809,9 @@ curses_ctrl_nhwindow(
return (win_request_info *) 0;
switch (request) {
#if 0
case set_mode:
case request_settings:
break;
#endif
case set_menu_promptstyle:
curses_menu_promptstyle.color = wri->fromcore.menu_promptstyle.color;
if (curses_menu_promptstyle.color == NO_COLOR)
@@ -822,7 +820,6 @@ curses_ctrl_nhwindow(
curses_menu_promptstyle.attr = curses_convert_attr(attr);;
break;
default:
impossible("invalid request to ctrl_nhwindow: %d", request);
break;
}
return wri;