Download the PHP package chemaclass/phel-cli-gui without Composer
On this page you can find all versions of the php package chemaclass/phel-cli-gui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chemaclass/phel-cli-gui
More information about chemaclass/phel-cli-gui
Files in chemaclass/phel-cli-gui
Download chemaclass/phel-cli-gui
More information about chemaclass/phel-cli-gui
Files in chemaclass/phel-cli-gui
Vendor chemaclass
Package phel-cli-gui
Short Description Phel functions to render in the terminal. It uses the Cursor from the Symfony Command module.
License MIT
Homepage https://phel-lang.org/
Package phel-cli-gui
Short Description Phel functions to render in the terminal. It uses the Cursor from the Symfony Command module.
License MIT
Homepage https://phel-lang.org/
Please rate this library. Is it a good library?
Informations about the package phel-cli-gui
Phel Cli Gui
This library provides you with some Phel functions to render in the terminal. It uses the Cursor from the Symfony Command module.
Functions
(read-input [length])
: reads the input stream and returns it in different formats;:raw
and:hex
.(clear-screen)
: clears the entire screen.(clear-output)
: clears all the output from the cursors' current position to the end of the screen.(clear-line [line])
: clears the output from the line.(render-board [{:width w :height h}])
: renders the borders of a board.(render [x y text & [style]])
: render any text to a concrete position (x,y) in the terminal.
Example
This example will read the input from the keyboard and display the char and its hexadecimal value on the terminal.
You can run it locally using: vendor/bin/phel run src/phel/test-keyboard.phel
Source:
Examples
You can see some real examples using this library:
All versions of phel-cli-gui with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-pcntl Version *
ext-readline Version *
phel-lang/phel-lang Version >=0.15
symfony/console Version ^7.2
ext-pcntl Version *
ext-readline Version *
phel-lang/phel-lang Version >=0.15
symfony/console Version ^7.2
The package chemaclass/phel-cli-gui contains the following files
Loading the files please wait ....