summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2017-03-23 20:59:01 -0400
committerBen Gamari <ben@smart-cactus.org>2017-03-23 22:14:48 -0400
commitadf27d614f8a48d8dcf2d4e2e7872f7b3f818364 (patch)
tree5dae7f8b6ed3caecfceaa220798967291904ed26 /ghc
parent90d9e977224f3bd71bd5d2cc70e16851541346d2 (diff)
downloadhaskell-adf27d614f8a48d8dcf2d4e2e7872f7b3f818364.tar.gz
Allow colors to be customized
Allow customization of diagnostic colors through the GHC_COLORS environment variable. Some color-related code have been refactored to PprColour to reduce the circular dependence between DynFlags, Outputable, ErrUtils. Some color functions that were part of Outputable but were never used have been deleted. Test Plan: validate Reviewers: austin, hvr, bgamari, dfeuer Reviewed By: bgamari, dfeuer Subscribers: dfeuer, rwbarton, thomie, snowleopard Differential Revision: https://phabricator.haskell.org/D3364
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GHCi/UI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 6310e3ce32..b2b54d339e 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -64,7 +64,7 @@ import SrcLoc
import qualified Lexer
import StringBuffer
-import Outputable hiding ( printForUser, printForUserPartWay, bold )
+import Outputable hiding ( printForUser, printForUserPartWay )
-- Other random utilities
import BasicTypes hiding ( isTopLevel )