Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
This module provides functions to measure the terminal column width of characters and strings. The functions provided in this module all ultimately make calls to the C implementation in cbits/mk_wcwidth.c. That code manages some global state that carries a table of Unicode character widths. For more details, see Install, the C code, and the "Multi-Column Character Support" section of the project README.
-
vty Graphics.Text.Width Returns the display width of a string. Assumes all characters with unknown widths are 0 width.
-
vty Graphics.Text.Width Returns the display width of a lazy text. Assumes all characters with unknown widths are 0 width.
-
vty Graphics.Text.Width Returns the display width of a text. Assumes all characters with unknown widths are 0 width.
-
vty Graphics.Text.Width Returns the display width of a character. Assumes all characters with unknown widths are 0 width.
-
vty Graphics.Text.Width No documentation available.
-
vty Graphics.Text.Width No documentation available.
-
vty Graphics.Text.Width No documentation available.
-
vty Graphics.Text.Width No documentation available.
installCustomWidthTable :: Maybe FilePath -> Maybe String -> [(String, FilePath)] -> IO ()vty Graphics.Vty Attempt to load and install a custom character width table into this process. This looks up the specified terminal name in the specified width table map and, if a map file path is found, the map is loaded and installed. This is exposed for Vty platform package implementors; application developers should never need to call this.