diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -217,6 +217,7 @@ copies, destutil, discovery, + encoding, error, exchange, extensions, @@ -1600,7 +1601,7 @@ renderhelp(helpwin, state) curses.doupdate() # done rendering - ch = stdscr.getkey() + ch = encoding.strtolocal(stdscr.getkey()) except curses.error: pass