Bug fix in Win32Output: when leaving alternate screen.
Bug fix in Win32Output: when leaving alternate screen.

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