tilia-0.2.0.0: corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out.hs
{-# LANGUAGE ImplicitParams #-}
module Report.Render where
render report =
let ?width = -- of the terminal
terminalWidth
in layout report
renderFlushed report = do
let ?cleanup = -- before exiting
do
hFlush stdout
layout report
renderPadded report = layout report
where
?width = -- of the terminal
terminalWidth
?height {- in lines -} = terminalHeight