Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hoaproject/Console
The Hoa\Console library.
https://github.com/hoaproject/Console
72a6e3c7772888fb8aadca8d12c7c53d0be8b856 authored almost 12 years ago by Ivan Enderlin <[email protected]>
0b5b2900369941cf4e007ece53270a0501fd8114 authored almost 12 years ago by Ivan Enderlin <[email protected]>
e3db604c04c120529ba02cd82b82d6299eaf4c2c authored almost 12 years ago by Stéphane PY <[email protected]>
Example:
$processus = new Hoa\Console\Processus('ls');
$processus->on('output', functio...
77682aceb89e7dc1a444248ba2bbad214132a4ac authored almost 12 years ago by Ivan Enderlin <[email protected]>
Usage:
from('Hoa')
-> import('Console.Chrome.Pager');
ob_start('Hoa\Console\Chrome...
1139eb0d60542423befff355d327303dea44eb07 authored almost 12 years ago by Ivan Enderlin <[email protected]>381a1e7aad805be131069034d1b5bc8b1400b479 authored almost 12 years ago by Ivan Enderlin <[email protected]>
6f9db82ceb501b8449a7fc051241299d0edc2550 authored almost 12 years ago by Ivan Enderlin <[email protected]>
6b4791ecc1f2f4ba6ca7f167a71faaad62ecbe07 authored almost 12 years ago by Ivan Enderlin <[email protected]>
99f7850c047b082de18e3a99a5047f1941a16833 authored almost 12 years ago by Ivan Enderlin <[email protected]>
8f65edd9dc6cfa595aea15bcc2afe1f02eb48789 authored almost 12 years ago by Ivan Enderlin <[email protected]>
127ef1a1c149ff656ead9448ee957d4f55a38b31 authored almost 12 years ago by Ivan Enderlin <[email protected]>
61ebadf415d7287b8aa96d3b05cb64b974cb63bf authored almost 12 years ago by Ivan Enderlin <[email protected]>
f2a037e62fb814a7977adff657aa91c707153272 authored almost 12 years ago by Ivan Enderlin <[email protected]>
dd326c9b1ad81e579fc46c5eb12ac8afccdd8dff authored almost 12 years ago by Ivan Enderlin <[email protected]>
7b916504c754f96a558c06795e727164dc7b651f authored almost 12 years ago by Ivan Enderlin <[email protected]>
b621e4ec76fa159d9df2b88daca7d767f406f62b authored almost 12 years ago by Ivan Enderlin <[email protected]>
a88ebddb388e3e446589d3c7b30614e833d6e195 authored almost 12 years ago by Ivan Enderlin <[email protected]>
8dcd3b69d2841d8b21699f82ac2b7b98845b4836 authored almost 12 years ago by Ivan Enderlin <[email protected]>
e9379a629de0c9c49854ff3e78119fd4ecd966c1 authored almost 12 years ago by Ivan Enderlin <[email protected]>
84640980c33ef3851b3cce6bb0de030297e4546e authored almost 12 years ago by Ivan Enderlin <[email protected]>
84d2fa5b5f5ea725df0bcb586081482874bc4a80 authored almost 12 years ago by Ivan Enderlin <[email protected]>
60b626681acae03c72ca5fb9bb11f55f5b3f563e authored almost 12 years ago by Ivan Enderlin <[email protected]>
8163f01e46ba95078c72b250ac5ac2425f076944 authored almost 12 years ago by Ivan Enderlin <[email protected]>
d054fb5f81fa67e43a8467f138e3ef571b307e90 authored almost 12 years ago by Ivan Enderlin <[email protected]>
When printing all solutions from an autocompleter (the menu), we scroll
up if there is no enough...
92e7f1a26d3dcb444abd6cdd8bc50e8cd6bd9de5 authored almost 12 years ago by Ivan Enderlin <[email protected]>
scroll() has now a $repeat argument.
9ef9fccba931a39c8801eb2e8894372d69983eda authored almost 12 years ago by Ivan Enderlin <[email protected]>96ce8a94465761bf3ee3cd75bf4b39a1edff3f79 authored almost 12 years ago by Ivan Enderlin <[email protected]>
6148a0947cb4a647ba6670de235ada7c68f4e83c authored almost 12 years ago by Ivan Enderlin <[email protected]>
76eaa480ad162cb92310697aa7bd6da4185a343e authored almost 12 years ago by Ivan Enderlin <[email protected]>
8fbb464a0e41a47585654b55e031a59b3200cfcf authored almost 12 years ago by Ivan Enderlin <[email protected]>
In the foreground and background “functions”:
Hoa\Console\Cursor::colorize('foreground(#dc1...
ec7483c8062c63ba34bf6abf38b7ea052b8ff48e authored almost 12 years ago by Ivan Enderlin <[email protected]>0f8d1668b91a8d122fc2eabc16ea8917417dc8a9 authored almost 12 years ago by Ivan Enderlin <[email protected]>
d8dd61983fb3afa4fbf45d0c27bd96f083ba58e1 authored almost 12 years ago by Ivan Enderlin <[email protected]>
e9e3a067c9fe24d5efa22217f0b707154d61d490 authored almost 12 years ago by Ivan Enderlin <[email protected]>
Allow to manipulate the clipboard.
94a24066eee5a155b83192fcb017a8ad2a08a21c authored almost 12 years ago by Ivan Enderlin <[email protected]>906537cd45d1f217e9b6a8cff4399de543ec7978 authored almost 12 years ago by Ivan Enderlin <[email protected]>
dd026fdab7e858a7d7415ac5dde82c4ecfa6c965 authored about 12 years ago by Ivan Enderlin <[email protected]>
Instead of adding the rest of the word. It allows to change the
beginning of the word.
Readline has a “core” method (a fallback one). When the menu is
displayed, if a key is pressed a...
Avoid error when running `stty` from a pipe.
9c9c130e9bc4a911aaf634f268e59ba699291ab4 authored about 12 years ago by Ivan Enderlin <[email protected]>b6be80e51ca374342b07a7daa16c7e8fcfe1607b authored about 12 years ago by Ivan Enderlin <[email protected]>
10965c9ac18b146e1d05971cd1eead259ac83b69 authored about 12 years ago by Ivan Enderlin <[email protected]>
23cbe7b7d45ef1a89d277d3dc19a4928344fc5e1 authored about 12 years ago by Ivan Enderlin <[email protected]>
1312a9d93369b0429e6d3d1144d0b5ebd4ac1663 authored about 12 years ago by Ivan Enderlin <[email protected]>
cb81f4f2b8b8ac7c95d4580f0f9af39b03d979e7 authored about 12 years ago by Ivan Enderlin <[email protected]>
Autocompleters are no longer “under development”.
e421ebba34e483da9e3ec694ae87b247f58559c2 authored about 12 years ago by Ivan Enderlin <[email protected]>7d02a90df12d081c8faee6743ac664bb9ab107b2 authored about 12 years ago by Ivan Enderlin <[email protected]>
When an auto-completer proposes many solutions, we print a menu à la
Zsh: we are able to navigat...
abe1e8802ae858a096da284a670e990ef7eee200 authored about 12 years ago by Ivan Enderlin <[email protected]>
0ec9d257045cad9e1d4df207fdbab86ee95fd2c6 authored about 12 years ago by Ivan Enderlin <[email protected]>
1dbe000fe443f9570fe3f4e60dbe506240763753 authored about 12 years ago by Ivan Enderlin <[email protected]>
3bc603c319f5ca5e76b54d2d20b1d618fea45bee authored about 12 years ago by Ivan Enderlin <[email protected]>
ea7e44a1d0037305cb25e611ca579984fc22897b authored about 12 years ago by Ivan Enderlin <[email protected]>
bbc217c676b441f43b80b78f36e9350b4e022a7d authored about 12 years ago by Ivan Enderlin <[email protected]>
412e57ccd1c027659092af5675e5048c9ae05513 authored about 12 years ago by Ivan Enderlin <[email protected]>
18dec3b47fdb34196b1b01d63499803839fb74fa authored about 12 years ago by Ivan Enderlin <[email protected]>
b7974659edbf2dd60f3190f8bf1eea32c7ca7fa0 authored about 12 years ago by Ivan Enderlin <[email protected]>
fe3bf84da14dbb2f3a3fbb4538788bff73a3b7b7 authored about 12 years ago by Ivan Enderlin <[email protected]>
We need ext/pcntl + declare(ticks = 1) and it works!
fe0a3ac6bb081537809c27be3ecd240fa8a3bd19 authored about 12 years ago by Ivan Enderlin <[email protected]>9da3f469832e12b84f9c8ed130597207f59a491b authored about 12 years ago by Ivan Enderlin <[email protected]>
Amongst ▋, _, |, and blink or steady.
679c490383449d63d2238718e7734adcddae1f80 authored about 12 years ago by Ivan Enderlin <[email protected]>960a832db9b74fd89ac8d1157a947861692f5e12 authored about 12 years ago by Ivan Enderlin <[email protected]>
d4584829f4053dd175f339b73512413bfc18883a authored about 12 years ago by Ivan Enderlin <[email protected]>
c4ac7f93eb6547565dd4935bbeab9691b124dea8 authored about 12 years ago by Ivan Enderlin <[email protected]>
Just change STTY configuration.
32b48979fa0da592cd4b4e7975d2e4d590ff679f authored about 12 years ago by Ivan Enderlin <[email protected]>da684696f5a251deac8dba8b8f0245903c083b94 authored about 12 years ago by Ivan Enderlin <[email protected]>
ae22d4d93512c64950316f88210e14d94f101919 authored about 12 years ago by Ivan Enderlin <[email protected]>
b387fb47763b67b852fd67c0c1676dcc0f725e98 authored about 12 years ago by Ivan Enderlin <[email protected]>
a0dc6b51f6aba20c751b21f60dc008d9fc96143d authored about 12 years ago by Ivan Enderlin <[email protected]>
c35ac3ad070aa9ced6ffd435ba59c0e54bae8673 authored about 12 years ago by Ivan Enderlin <[email protected]>
6b832fa6ec9c3b2134c63de77fcd867bf892daad authored about 12 years ago by Ivan Enderlin <[email protected]>
Allow to manipulate the window:
• setSize;
• getSize;
• moveTo;
• getPosition;
...
Replaced by Hoa\Console\Processus.
f6acace7cad63d86f38cb4d2392dae36e227412b authored about 12 years ago by Ivan Enderlin <[email protected]>
It allows to manipulate process as a stream (which implements
Hoa\Stream\IStream\In, Hoa\Stream\...
We use \r\033[K instead of \033[2K + moveTo(1).
7bfc5b436c48caa49e53bfd2ace55ec5f541178c authored about 12 years ago by Ivan Enderlin <[email protected]>
When autocompletion proposes many solutions, we do not print a new
prompt.
8bd9da8460348329231dc8f8dc7c505d429d1c7b authored about 12 years ago by Ivan Enderlin <[email protected]>
Following operations are available:
• move;
• moveTo;
• save;
• restore;
• c...
720d77ce4b5ea317b33c32e39c5ae2660db8f343 authored about 12 years ago by Ivan Enderlin <[email protected]>
63120e699a954bc04a47c18304b3930ace766e57 authored about 12 years ago by Ivan Enderlin <[email protected]>
bf426fb8ac6edd64cd908fd7e89035d298a539d4 authored about 12 years ago by Ivan Enderlin <[email protected]>
86ba6db86fb453cde0696c8c9872ed61d934f58c authored about 12 years ago by Ivan Enderlin <[email protected]>
Sometimes, PHP throws an error when executing `stty -a`.
ab45341e0141e5c859fcda5f4ff3eb08750f4c3e authored about 12 years ago by Ivan Enderlin <[email protected]>d0b2172132c8545e41475a56a19c844a2566bd2c authored over 12 years ago by Ivan Enderlin <[email protected]>
b111f797fa656934b2fccede896aafe3fa20e7b8 authored over 12 years ago by Ivan Enderlin <[email protected]>
aae37dd4166063f37b344f576d3e1c2bfbbe60c8 authored over 12 years ago by Ivan Enderlin <[email protected]>
487915e39c85995b19b9e11a906548ac4ce19f72 authored over 12 years ago by Ivan Enderlin <[email protected]>
c05f0e5f38d2bcf77c5bc7fb38d13c7708e50764 authored over 12 years ago by Ivan Enderlin <[email protected]>
Hoa\Console\Dispatcher\Kit. Usage:
while(false !== $c = $this->getOption($v)) switch($c) {
...
a23e4693492aac93cf89020e1bf53bd4474fd2ec authored almost 13 years ago by Ivan Enderlin <[email protected]>5b7b6072af44e50bc944e52eb30fb5a23e8389f7 authored almost 13 years ago by Ivan Enderlin <[email protected]>
2fbac62be320c82ad00da275965a95d64c6e4105 authored almost 13 years ago by Ivan Enderlin <[email protected]>
9a6d8ef01aee24aa903ee755e8c1f8d27fabf546 authored almost 13 years ago by Ivan Enderlin <[email protected]>
2b2ad8b78a1af992910d396562fa3fccbaa3440b authored almost 13 years ago by Ivan Enderlin <[email protected]>
• Ctrl-A: move cursor to beginning of line;
• Ctrl-B: move cursor backward one word;
...
40d9dfeafaa0a464b9919b87acf1bc36873abeb4 authored about 13 years ago by Ivan Enderlin <[email protected]>
d8e6a98e2ca9224bd80d65910a8f3d1e8f70e297 authored about 13 years ago by Ivan Enderlin <[email protected]>
c1eac97188996c13cac85f6afca6715bdd7ac627 authored about 13 years ago by Ivan Enderlin <[email protected]>
761e2f124d328902ca66789f82c0ab5ae1bc1f9b authored about 13 years ago by Ivan Enderlin <[email protected]>