Home
last modified time | relevance | path

Searched refs:terminal_size (Results 1 – 14 of 14) sorted by relevance

/external/toybox/toys/pending/
Dmore.c107 terminal_size(&cols, &rows); in more_main()
126 terminal_size(&cols, &rows); in more_main()
Dtelnet.c307 terminal_size(&TT.win_width, &TT.win_height); in telnet_main()
Dstty.c143 terminal_size(&TT.output_cols, NULL); in out()
Dvi.c506 terminal_size(&TT.screen_width, &TT.screen_height); in vi_main()
/external/toybox/lib/
Dtty.c21 int terminal_size(unsigned *xx, unsigned *yy) in terminal_size() function
55 if (terminal_size(xx, yy) && (!xx || *xx) && (!yy || *yy)) return 1; in terminal_probesize()
Dlib.h300 int terminal_size(unsigned *xx, unsigned *yy);
/external/toybox/toys/other/
Dvmstat.c98 if (!(toys.optflags&FLAG_n) && isatty(1)) terminal_size(0, &rows); in vmstat_main()
Dhexedit.c129 terminal_size(0, &TT.height); in hexedit_main()
/external/python/cpython3/Lib/
Dshutil.py1107 size = os.terminal_size(fallback)
1113 return os.terminal_size((columns, lines))
/external/toybox/toys/posix/
Dls.c551 terminal_size(&TT.screen_width, NULL); in ls_main()
Dsed.c418 terminal_size(&TT.xx, 0); in sed_line()
Dps.c1291 if (!isatty(1) || !terminal_size(&TT.width, 0)) toys.optflags |= FLAG_w; in ps_main()
/external/python/cpython3/Doc/library/
Dshutil.rst650 The value returned is a named tuple of type :class:`os.terminal_size`.
Dos.rst1375 tuple of type :class:`terminal_size`.
1389 .. class:: terminal_size