Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
PhpSchool
CliMenu
Terminal
UnixTerminal
getWidth
PhpSchool\CliMenu\Terminal\UnixTerminal::getWidth PHP 메소드
UnixTerminal 1 문서
파일 보기
프로젝트 열기: php-school/cli-menu
getWidth()
공개
메소드
Get the available width of the terminal
public
getWidth
( ) :
integer
리턴
integer
public function getWidth() { return $this->width ?: ($this->width = (int) exec('tput cols')); }
UnixTerminal
__construct
clean
clear
clearLine
disableCursor
enableCursor
getDetails
getHeight
getKeyedInput
getOriginalConfiguration
getWidth
isCanonical
isTTY
moveCursorToColumn
moveCursorToRow
moveCursorToTop
setCanonicalMode
supportsColour