Message236147
Hi,
I'm also interrested in this feature. Indeed, exporting rl_forced_update_display() is the only way I've found to make readline.set_completion_display_matches_hook() working properly. Without forcing the redisplay, the prompt is not displayed. This seems to be the proper function to call, because that's the one called at the end of display_matches() in libreadline code, which is the default function for displaying matches.
The attached file is a simple example code derived from http://pymotw.com/2/readline/ that shows that the patch is working. |
|
Date |
User |
Action |
Args |
2015-02-17 19:57:41 | zer0 | set | recipients:
+ zer0, dexteradeus |
2015-02-17 19:57:41 | zer0 | set | messageid: <1424203061.58.0.298510785496.issue23067@psf.upfronthosting.co.za> |
2015-02-17 19:57:41 | zer0 | link | issue23067 messages |
2015-02-17 19:57:41 | zer0 | create | |
|