vty-5.2.4: A simple terminal UI library

Safe HaskellNone

Graphics.Text.Width

Synopsis

Documentation

wcwidth :: Char -> IntSource

wcswidth :: String -> IntSource

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