Req #61585 [Opn->Wfx]: adding support for rl_bind_key
| From: | cmb@php.net | Date: | Mon, 19 Jul 2021 15:30:13 +0000 |
| Subject: | Req #61585 [Opn->Wfx]: adding support for rl_bind_key | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235187@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61585&edit=1
ID: 61585
Updated by: cmb@php.net
Reported by: osama dot sorour at eformations dot net
Summary: adding support for rl_bind_key
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Readline related
Operating System: Linux
PHP Version: 5.4Git-2012-03-31 (Git)
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Given that there has been no feedback for almost ten years, I'm
closing as WONTFIX. Feel free to provide an updated patch as pull
request[1], though.
[1] <https://github.com/php/php-src/pulls>
Previous Comments:
------------------------------------------------------------------------
[2012-03-31 19:53:50] osama dot sorour at eformations dot net
fixed email typo
------------------------------------------------------------------------
[2012-03-31 19:52:07] osama dot sorour at eformations dot net
Description:
------------
The current readline implementation does not include support for rl_bind_key. The
included patch adds the support as follows:
function readline_bind_key_function($key, $callback_func)
where:
$key: Key code to bind to.
$callback_func: A callback function in the form:
function callback($key, $count) where $key and $count are the same parameters
passed from rl_bind_key()
Setting $callback_func to null will cause the binding to be removed for $key.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61585&edit=1