note 25387 added to function.readline-completion-function
| From: | john at weider dot cc | Date: | Sat, 21 Sep 2002 14:32:29 +0000 |
| Subject: | note 25387 added to function.readline-completion-function | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37088@lists.php.net to get a copy of this message | ||
It seems that the registered function can accept 2 parameters, the first being the partial string,
the second a number that when equal to zero indicates that the tab was hit on the first argument on
the input. Otherwise it looks like the position within the string is returned.
This is neccessary information for processing shell command line input.
--
http://www.php.net/manual/en/function.readline-completion-function.php
http://master.php.net/manage/user-notes.php?action=edit+25387
http://master.php.net/manage/user-notes.php?action=delete+25387
http://master.php.net/manage/user-notes.php?action=reject+25387