# HG changeset patch # User Martin von Zweigbergk # Date 1572558377 25200 # Node ID 8aa54c5a257734ee12fbd7139c28e72707e5bb28 # Parent d8215ff082da1eda8d57912ab7a045a010028b9b py3: handle keypresses in chistedit Now you can navigate and change the action for a commit. You can also reorder commits, as long as that doesn't result in a conflict (then it crashes). Differential Revision: https://phab.mercurial-scm.org/D7182 diff -r d8215ff082da -r 8aa54c5a2577 hgext/histedit.py --- 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