Req #61585 [Opn]: adding support for rl_bind_key

From: Date: Sat, 31 Mar 2012 19:53:50 +0000
Subject: Req #61585 [Opn]: adding support for rl_bind_key
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169106@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 User updated by: osama dot sorour at eformations dot net Reported by: osama dot sorour at eformations dot net Summary: adding support for rl_bind_key Status: Open Type: Feature/Change Request Package: Readline related Operating System: Linux PHP Version: 5.4Git-2012-03-31 (Git) Block user comment: N Private report: N New Comment: fixed email typo Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#169106) next »