Lines Matching refs:cursor_position
114 static void get_cursor_position(uv_tty_t* tty_out, COORD* cursor_position) { in get_cursor_position() argument
118 cursor_position->X = info.dwCursorPosition.X + 1; in get_cursor_position()
119 cursor_position->Y = info.dwCursorPosition.Y - info.srWindow.Top + 1; in get_cursor_position()
227 COORD cursor_position, in make_expect_screen_erase() argument
233 start = cs->text + cs->si.width * (cursor_position.Y - 1); in make_expect_screen_erase()
243 start += cursor_position.X - 1; in make_expect_screen_erase()
246 end = start + cursor_position.X; in make_expect_screen_erase()
272 COORD cursor_position, in make_expect_screen_write() argument
276 start = cs->text + cs->si.width * (cursor_position.Y - 1) + in make_expect_screen_write()
277 cursor_position.X - 1; in make_expect_screen_write()
285 COORD cursor_position, in make_expect_screen_set_attr() argument
289 start = cs->attributes + cs->si.width * (cursor_position.Y - 1) + in make_expect_screen_set_attr()
290 cursor_position.X - 1; in make_expect_screen_set_attr()