##// END OF EJS Templates
Use msvcrt.getwch() for Windows pager....
Thomas Kluyver -
Show More
@@ -305,7 +305,7 b" if os.name == 'nt' and os.environ.get('TERM','dumb') != 'emacs':"
305 305 @return: True if need print more lines, False if quit
306 306 """
307 307 io.stdout.write('---Return to continue, q to quit--- ')
308 ans = msvcrt.getch()
308 ans = msvcrt.getwch()
309 309 if ans in ("q", "Q"):
310 310 result = False
311 311 else:
General Comments 0
You need to be logged in to leave comments. Login now