From 6072327dc5dc3c2d7a045712a21d7ed73b9a5456 2013-08-21 17:55:36 From: Thomas Kluyver Date: 2013-08-21 17:55:36 Subject: [PATCH] Use msvcrt.getwch() for Windows pager. Closes gh-1591 --- 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: