[PATCH 1 of 3] getch() -- to read one keystroke from console

Bryan O'Sullivan bos at serpentine.com
Tue Dec 25 23:05:50 CST 2007

> +# getch, taken from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892
> +class _Getch:

This code is horribly overcomplicated.  Please follow the coding style
in the util and util_win32 modules, add the code there, use the normal
demandimport machinery, and keep it simple instead of introducing those



More information about the Mercurial-devel mailing list