vgrep-0.1.4.1: A pager for grep

Safe HaskellNone
LanguageHaskell2010

Vgrep.Text

Contents

Synopsis

Utilities for rendering Text

Tabs and other characters below ASCII 32 cause problems in Graphics.Vty, so we expand them to readable characters, e.g. \r to ^13. Tabs are expanded toh the configured tabWidth.

expandForDisplay :: (Functor f, MonadReader Environment m) => f Text -> m (f Text) Source #

Expand a list of lines

expandLineForDisplay :: MonadReader Environment m => Text -> m Text Source #

Expand a single line