diff mercurial/ui.py @ 40602:c36175456350

histedit: import chistedit curses UI from hg-experimental I don't tend to like curses interfaces, but this gets enough use at work that it seems like it's worth bringing into core. This is a minimal import from hg-experimental revision 4c7f33bf5f00, in that I've done the smallest amount of code movement and editing in order to import the functionality. .. feature:: `hg histedit` will now present a curses UI if curses is available and `ui.interface` or `ui.interface.histedit` is set to `curses`. Differential Revision: https://phab.mercurial-scm.org/D5146
author Augie Fackler <augie@google.com>
date Wed, 17 Oct 2018 17:15:42 -0400
parents 234c2d8c9e48
children c72a81bc2e82
line wrap: on
line diff
--- a/mercurial/ui.py	Mon Nov 12 20:32:58 2018 -0500
+++ b/mercurial/ui.py	Wed Oct 17 17:15:42 2018 -0400
@@ -1245,7 +1245,11 @@
             "chunkselector": [
                 "text",
                 "curses",
-            ]
+            ],
+            "histedit": [
+                "text",
+                "curses",
+            ],
         }
 
         # Feature-specific interface