Lines Matching refs:rows
345 unsigned rows, columns; // the terminal screen is this size member
477 #define rows (G.rows ) macro
594 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()
861 if (cnt > (rows - 1) / 2) in sync_cursor()
874 for (ro = 0; ro < rows - 1; ro++) { // drive "ro" to correct row in sync_cursor()
994 unsigned c = columns, r = rows; in refresh()
997 full_screen |= (c - columns) | (r - rows); in refresh()
999 if (c != columns || r != rows) { in refresh()
1002 new_screen(rows, columns); in refresh()
1010 for (li = 0; li < rows - 1; li++) { in refresh()
3489 new_screen(rows, columns); // get memory for virtual screen in winch_handler()
3772 dot_scroll(rows - 2, -1);
3775 dot_scroll((rows - 2) / 2, 1);
3782 dot_scroll(rows - 2, 1);
3823 dot_scroll((rows - 2) / 2, -1);
4192 if (cmdcnt > (rows - 1)) {
4193 cmdcnt = (rows - 1);
4232 if (cmdcnt > (rows - 1)) {
4233 cmdcnt = (rows - 1);
4243 for (cnt = 0; cnt < (rows-1) / 2; cnt++)
4456 cnt = (rows - 2) / 2; // put dot at center
4458 cnt = rows - 2; // put dot at bottom
4765 rows = 24;
4779 rows = ((rc >> 16) & 0x7fff);
4780 if (rows > MAX_SCR_ROWS)
4781 rows = MAX_SCR_ROWS;
4785 new_screen(rows, columns); // get memory for virtual screen