commit | 62e475b84f0cf3343fbd15810678b3c6f728aa9f | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Thu Sep 07 13:59:38 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Thu Sep 07 13:59:38 2006 +0000 |
tree | 6d2303740dcc5d00f08301d9b180a6033f3a0fa9 | |
parent | 95b0478c0750d71d4b709c6e5f0955d214d2bf85 [diff] |
[Bug #1552726] Avoid repeatedly polling in interactive mode -- only put a timeout on the select() if an input hook has been defined. Patch by Richard Boulton. This select() code is only executed with readline 2.1, or if READLINE_CALLBACKS is defined. Backport candidate for 2.5, 2.4, probably earlier versions too.