Skip to content

Commit

Permalink
Add green color for ITEM
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Sep 22, 2018
1 parent b100dfc commit 5c1104c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tldr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ handleParagraph xs handle = TIO.hPutStrLn handle $ T.concat $ Prelude.map handle

handleNode :: Node -> Handle -> IO ()
handleNode (Node _ PARAGRAPH xs) handle = handleParagraph xs handle
handleNode (Node _ ITEM xs) handle = handleParagraph xs handle
handleNode (Node _ ITEM xs) handle = changeConsoleSetting ITEM >> handleParagraph xs handle
handleNode (Node _ ntype xs) handle = do
changeConsoleSetting ntype
renderNode ntype handle
Expand Down

0 comments on commit 5c1104c

Please sign in to comment.