Fix: Correct invalidation of DefaultPrompt when search direction changes.
Fix: Correct invalidation of DefaultPrompt when search direction changes.

jonathanslenders/python-prompt-toolkit,niklasf/python-prompt-toolkit,ALSchwalm/python-prompt-toolkit,amjith/python-prompt-toolkit,melund/python-prompt-toolkit,ddalex/python-prompt-toolkit