python-cmd2 / cmd2

cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
https://cmd2.readthedocs.io/en/stable/
MIT License
611 stars 114 forks source link

updating the prompt overwrites incremental search #1260

Open anselor opened 1 year ago

anselor commented 1 year ago

If the user is in the middle of an incremental search (CTRL+R) at the prompt and an asynchronous prompt update occurs from a background thread the search output is overwritten.

kmvanbrunt commented 1 year ago

I have a fix for when using GNU Readline. I will look at pyreadline3 next and create a PR when I'm done.