MCPcopy Create free account
hub / github.com/Entware/Entware / setup_windows

Function setup_windows

scripts/config/nconf.c:1559–1576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557}
1558
1559static void setup_windows(void)
1560{
1561 int lines, columns;
1562
1563 getmaxyx(stdscr, lines, columns);
1564
1565 if (main_window != NULL)
1566 delwin(main_window);
1567
1568 /* set up the menu and menu window */
1569 main_window = newwin(lines-2, columns-2, 2, 1);
1570 keypad(main_window, TRUE);
1571 mwin_max_lines = lines-7;
1572 mwin_max_cols = columns-6;
1573
1574 /* panels order is from bottom to top */
1575 new_panel(main_window);
1576}
1577
1578int main(int ac, char **av)
1579{

Callers 2

process_special_keysFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected