vty-5.0.2: A simple terminal UI library

Safe HaskellNone

Graphics.Text.Width

Synopsis

Documentation

safeWcwidth :: Char -> IntSource

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

safeWcswidth :: String -> IntSource

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