mercurial/ui.py
changeset 31113 268caf97c38f
parent 31108 3f8f53190d6a
child 31114 1613c55ad3d6
--- a/mercurial/ui.py	Sat Feb 25 15:00:44 2017 +0100
+++ b/mercurial/ui.py	Sat Feb 25 15:00:51 2017 +0100
@@ -157,6 +157,7 @@
         self.logblockedtimes = False
         # color mode: see mercurial/color.py for possible value
         self._colormode = None
+        self._terminfoparams = {}
 
         if src:
             self.fout = src.fout
@@ -174,6 +175,7 @@
             self.callhooks = src.callhooks
             self.insecureconnections = src.insecureconnections
             self._colormode = src._colormode
+            self._terminfoparams = src._terminfoparams.copy()
 
             self.fixconfig()