fix: reset before and after

This commit is contained in:
Mahdi Dibaiee 2017-03-30 18:03:14 +04:30
parent 8ff1416962
commit 94c854a966
2 changed files with 4 additions and 4 deletions

View File

@ -3,4 +3,4 @@ module Text.Termcolor (format) where
format :: Format -> String format :: Format -> String
format (Tail input) = input format (Tail input) = input
format (Node code f) = "\ESC[" ++ (show code) ++ "m" ++ (format f) format (Node code f) = "\ESC[0;\ESC[" ++ (show code) ++ "m" ++ (format f) ++ "\ESC[0;"

View File

@ -1,7 +1,7 @@
name: termcolor name: termcolor
version: 0.1.0.0 version: 0.2.0.0
-- synopsis: synopsis: Composable terminal colors
-- description: description: Composable terminal colors
homepage: https://github.com/mdibaiee/termcolor#readme homepage: https://github.com/mdibaiee/termcolor#readme
license: GPL-3 license: GPL-3
license-file: LICENSE license-file: LICENSE