Searched refs:width (Results 1 – 10 of 10) sorted by relevance
/libuv/docs/code/tty-gravity/ |
H A D | main.c | 10 int width, height; variable 21 (unsigned long) (width-strlen(message))/2, in update() 38 if (uv_tty_get_winsize(&tty, &width, &height)) { in main() 44 fprintf(stderr, "Width %d, height %d\n", width, height); in main()
|
/libuv/test/ |
H A D | test-tty-escape-sequence-processing.c | 84 int width; member 98 si->width = si->csbi.dwSize.X; in get_screen_info() 240 end = start + cs->si.width; in make_expect_screen_erase() 259 end = start + cs->si.width; in make_expect_screen_erase() 313 if (actual->si.width != expect->si.width) { in compare_screen() 511 cursor_pos_old.X = si.width; in TEST_IMPL() 521 cursor_pos_old.X = si.width; in TEST_IMPL() 761 cursor_pos.X = si.width / 2; in TEST_IMPL() 1266 cursor_pos.X = si.width / 4; in TEST_IMPL() 1285 cursor_pos.X = si.width / 4; in TEST_IMPL() [all …]
|
H A D | test-tty.c | 45 int r, width, height; in TEST_IMPL() local 107 r = uv_tty_get_winsize(&tty_out, &width, &height); in TEST_IMPL() 110 printf("width=%d height=%d\n", width, height); in TEST_IMPL() 112 if (width == 0 && height == 0) { in TEST_IMPL() 119 ASSERT_GT(width, 0); in TEST_IMPL()
|
/libuv/src/unix/ |
H A D | tty.c | 369 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize() argument 380 *width = ws.ws_col; in uv_tty_get_winsize()
|
/libuv/src/win/ |
H A D | tty.c | 412 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize() argument 423 *width = uv_tty_virtual_width; in uv_tty_get_winsize() 2391 int width, height; local 2396 width = sb_info.dwSize.X; 2400 if (width != uv__tty_console_width || height != uv__tty_console_height) { 2401 uv__tty_console_width = width;
|
/libuv/docs/src/ |
H A D | tty.rst | 114 .. c:function:: int uv_tty_get_winsize(uv_tty_t* handle, int* width, int* height)
|
/libuv/docs/src/guide/ |
H A D | basics.rst | 78 <iframe width="560" height="315"
|
H A D | utilities.rst | 412 width and height of the terminal and returns ``0`` on success. Here is a small
|
/libuv/include/ |
H A D | uv.h | 824 UV_EXTERN int uv_tty_get_winsize(uv_tty_t*, int* width, int* height);
|
/libuv/ |
H A D | ChangeLog | 4713 * test: skip tty test if detected width and height are 0 (Saúl Ibarra Corretgé)
|
Completed in 42 milliseconds