ui: add curses interface to tweakdefaults
authorAugie Fackler <augie@google.com>
Wed, 06 Dec 2017 16:42:24 -0500
changeset 35306 03a83ace9816
parent 35305 483b5dd0f1aa
child 35307 4caafe280488
ui: add curses interface to tweakdefaults This was part of the original proposal, and while *I* don't like the curses interface, most users anecdotally seem to greatly prefer it to plain text interfaces. Differential Revision: https://phab.mercurial-scm.org/D1609
mercurial/ui.py
--- a/mercurial/ui.py	Wed Dec 06 23:33:01 2017 +0100
+++ b/mercurial/ui.py	Wed Dec 06 16:42:24 2017 -0500
@@ -51,6 +51,8 @@
 rollback = False
 # Make `hg status` report copy information
 statuscopies = yes
+# Prefer curses UIs when available. Revert to plain-text with `text`.
+interface = curses
 
 [commands]
 # Make `hg status` emit cwd-relative paths by default.