fix: reset before and after
This commit is contained in:
parent
8ff1416962
commit
94c854a966
@ -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;"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user