bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] How to force GNU readline to call functions bound to 'C-d


From: Mara Kim
Subject: [Bug-readline] How to force GNU readline to call functions bound to 'C-d' even when line is empty
Date: Sun, 14 Jul 2013 17:13:49 -0500

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.

See the Stack Overflow link for a short example which demonstrates this behaviour.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]