|
From: | Mara Kim |
Subject: | Re: [Bug-readline] How to force GNU readline to call functions bound to 'C-d' even when line is empty |
Date: | Sun, 14 Jul 2013 18:52:17 -0500 |
See the Stack Overflow link for a short example which demonstrates this behaviour.Hi bug-readline!I asked this question over on Stack Overflow (http://stackoverflow.com/questions/17608865/how-to-force-gnu-readline-to-call-bound-functions-when-line-is-blank), but figured it would be a good idea to get some insight from the developers.
I am trying to bind C-d to a function (specifically, setting an exit flag). It works, but only when the current line is not blank. It appears that this behaviour is specific to C-d, as I have no issues when I bind other keys.
On a side note, excellent work on the library. I am extremely impressed at how easy it is to integrate such powerful functionality into my programs.
Thanks,Mara
[Prev in Thread] | Current Thread | [Next in Thread] |