Anonymous user
Terminal control/Cursor positioning: Difference between revisions
Terminal control/Cursor positioning (view source)
Revision as of 19:22, 19 November 2019
, 4 years ago→{{header|PHP}}
(Added PHP) |
m (→{{header|PHP}}) |
||
Line 412:
<lang PHP>
echo "\033[".$x.",".$y."H"; // Position line $y and column $x.
echo "\033[".$n."A"; // Up $n
echo "\033[".$n."B"; // Down $n
echo "\033[".$n."C"; // Forward $n columns.
echo "\033[".$n."D"; // Backward $n columns.
|