Searched refs:rows (Results 1 – 3 of 3) sorted by relevance
274 static int rows = 0, cols = 0; variable301 rows = ws.ws_row; in init_wsize()305 if (!rows) { in init_wsize()308 rows = atoi(env); in init_wsize()309 if (!rows) in init_wsize()310 rows = 24; in init_wsize()320 if (rows < 19 || cols < 80) { in init_wsize()326 rows -= 4; in init_wsize()747 cprint("%d", rows); in conf()749 cprint("%d", rows - 10); in conf()[all …]
345 unsigned rows, columns; // the terminal screen is this size member477 #define rows (G.rows ) macro594 int err = get_terminal_width_height(STDIN_FILENO, &columns, &rows); in query_screen_dimensions()595 if (rows > MAX_SCR_ROWS) in query_screen_dimensions()596 rows = MAX_SCR_ROWS; in query_screen_dimensions()651 if (row >= rows) row = rows - 1; in place_cursor()667 place_cursor(rows - 1, 0); in go_bottom_and_clear_to_eol()739 for (cnt = 0; cnt < rows - 2; cnt++) in end_screen()848 if (cnt > (rows - 1) / 2) { in sync_cursor()850 for (cnt = 0; cnt < (rows - 1) / 2; cnt++) { in sync_cursor()[all …]
871 static void set_window_size(int rows, int cols) in set_window_size() argument882 if (rows >= 0) in set_window_size()883 win.ws_row = rows; in set_window_size()