1
0
forked from GitHub/gf-core

Use terminfo to highlight warnings and errors in blue and red

This replaces the hardwired ANSI escape codes that were accidentally included
in a previous patch.

This adds a dependency on terminfo, but this should be unproblematic, since
haskeline already depends on the same underlying C library.

The color highlighting is omitted on Windows.
This commit is contained in:
hallgren
2014-10-28 19:04:48 +00:00
parent e41d9e34bb
commit 0519493ca9
4 changed files with 34 additions and 4 deletions

View File

@@ -289,7 +289,7 @@ Library
if os(windows)
build-depends: Win32
else
build-depends: unix
build-depends: unix, terminfo>=0.4
Executable gf