--- a/hgext/histedit.py Thu Oct 31 14:25:51 2019 -0700
+++ b/hgext/histedit.py Thu Oct 31 14:46:17 2019 -0700
@@ -1608,7 +1608,7 @@
renderhelp(helpwin, state)
curses.doupdate()
# done rendering
- ch = stdscr.getkey()
+ ch = encoding.strtolocal(stdscr.getkey())
except curses.error:
pass