Patchwork D1609: ui: add curses interface to tweakdefaults

login
register
mail settings
Submitter phabricator
Date Dec. 6, 2017, 9:51 p.m.
Message ID <differential-rev-PHID-DREV-7ru626x34tnrcfk2vppw-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25981/
State Superseded
Headers show

Comments

phabricator - Dec. 6, 2017, 9:51 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1609

AFFECTED FILES
  mercurial/ui.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -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.