Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
helpers
BaseConsole
moveCursorPrevLine
yii\helpers\BaseConsole::moveCursorPrevLine PHP Method
BaseConsole Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
moveCursorPrevLine()
public
static
method
Moves the terminal cursor to the beginning of the previous line by sending ANSI control code CPL to the terminal.
public
static
moveCursorPrevLine
(
integer
$lines
= 1 )
$lines
integer
number of lines the cursor should be moved up
public static function moveCursorPrevLine($lines = 1) { echo "[" . (int) $lines . 'F'; }
BaseConsole
ansiFormat
ansiFormatCode
ansiStrlen
ansiToHtml
beginAnsiFormat
clearLine
clearLineAfterCursor
clearLineBeforeCursor
clearScreen
clearScreenAfterCursor
clearScreenBeforeCursor
confirm
endAnsiFormat
endProgress
error
escape
getScreenSize
hideCursor
input
isRunningOnWindows
markdownToAnsi
moveCursorBackward
moveCursorDown
moveCursorForward
moveCursorNextLine
moveCursorPrevLine
moveCursorTo
moveCursorUp
output
prompt
renderColoredString
restoreCursorPosition
saveCursorPosition
scrollDown
scrollUp
select
showCursor
startProgress
stderr
stdin
stdout
streamSupportsAnsiColors
stripAnsiFormat
updateProgress
wrapText
xtermBgColor
xtermFgColor