[issue23067] Export readline forced_update_display

2015-08-01 Thread Martin Panter
Martin Panter added the comment: There are actually a few other patches open adding wrappers for rl_forced_update_display(): * Issue 1175004: From 2005, other APIs as well * Issue 24727: Includes documentation As well as the documentation, I think it would be good to add a test case for new

[issue23067] Export readline forced_update_display

2015-02-17 Thread Olivier Matz
Olivier Matz added the comment: By the way, I have my own implementation of the patch that did before checking the issue tracker. Instead of adding an argument to readline.redisplay(), it adds a new function readline.forced_update_display(). I attach the patch for reference, I don't know what

[issue23067] Export readline forced_update_display

2015-02-17 Thread Olivier Matz
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

[issue23067] Export readline forced_update_display

2014-12-16 Thread Chris Hand
New submission from Chris Hand: The current implementation of readline implements the redisplay function, but not the forced version. This patch maintains the current behavior as the default, but also allows a bool to be passed which, if True, calls rl_forced_update_display instead.