D7182: py3: handle keypresses in chistedit
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Nov 1 13:31:04 EDT 2019
Closed by commit rHGbddc0ee684ae: py3: handle keypresses in chistedit (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7182?vs=17437&id=17458
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7182/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7182
AFFECTED FILES
hgext/histedit.py
CHANGE DETAILS
diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1603,7 +1603,7 @@
renderhelp(helpwin, state)
curses.doupdate()
# done rendering
- ch = stdscr.getkey()
+ ch = encoding.strtolocal(stdscr.getkey())
except curses.error:
pass
To: martinvonz, durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list