changeset 35315:03a83ace9816

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
author Augie Fackler <augie@google.com>
date Wed, 06 Dec 2017 16:42:24 -0500
parents 483b5dd0f1aa
children 4caafe280488
files mercurial/ui.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.