From 3384ba0e8f5e8300399132cedd74a7c1632db179 2013-08-21 19:17:01 From: Thomas Kluyver Date: 2013-08-21 19:17:01 Subject: [PATCH] Merge pull request #4084 from takluyver/win-page-py3 Use msvcrt.getwch() for Windows pager. --- diff --git a/IPython/core/page.py b/IPython/core/page.py index 9c082c8..a3f7d91 100644 --- a/IPython/core/page.py +++ b/IPython/core/page.py @@ -305,7 +305,7 @@ if os.name == 'nt' and os.environ.get('TERM','dumb') != 'emacs': @return: True if need print more lines, False if quit """ io.stdout.write('---Return to continue, q to quit--- ') - ans = msvcrt.getch() + ans = msvcrt.getwch() if ans in ("q", "Q"): result = False else: