Home
last modified time | relevance | path

Searched refs:width (Results 1 – 10 of 10) sorted by relevance

/libuv/docs/code/tty-gravity/
H A Dmain.c10 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 Dtest-tty-escape-sequence-processing.c84 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 Dtest-tty.c45 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 Dtty.c369 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 Dtty.c412 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 Dtty.rst114 .. c:function:: int uv_tty_get_winsize(uv_tty_t* handle, int* width, int* height)
/libuv/docs/src/guide/
H A Dbasics.rst78 <iframe width="560" height="315"
H A Dutilities.rst412 width and height of the terminal and returns ``0`` on success. Here is a small
/libuv/include/
H A Duv.h824 UV_EXTERN int uv_tty_get_winsize(uv_tty_t*, int* width, int* height);
/libuv/
H A DChangeLog4713 * test: skip tty test if detected width and height are 0 (Saúl Ibarra Corretgé)

Completed in 42 milliseconds