Olivier Matz added the comment:

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.

----------
nosy: +zer0
Added file: http://bugs.python.org/file38162/test-rdline.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23067>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to