vty-5.19: A simple terminal UI library

Safe HaskellNone
LanguageHaskell2010

Graphics.Text.Width

Synopsis

Documentation

safeWcwidth :: Char -> Int Source #

Returns the display width of a character. Assumes all characters with unknown widths are 0 width.

safeWcswidth :: String -> Int Source #

Returns the display width of a string. Assumes all characters with unknown widths are 0 width.