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.

  1. module Graphics.Text.Width

    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.

  2. safeWcswidth :: String -> Int

    vty Graphics.Text.Width

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

  3. safeWctlwidth :: Text -> Int

    vty Graphics.Text.Width

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

  4. safeWctwidth :: Text -> Int

    vty Graphics.Text.Width

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

  5. safeWcwidth :: Char -> Int

    vty Graphics.Text.Width

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

  6. wcswidth :: String -> Int

    vty Graphics.Text.Width

    No documentation available.

  7. wctlwidth :: Text -> Int

    vty Graphics.Text.Width

    No documentation available.

  8. wctwidth :: Text -> Int

    vty Graphics.Text.Width

    No documentation available.

  9. wcwidth :: Char -> Int

    vty Graphics.Text.Width

    No documentation available.

  10. 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.

Page 796 of many | Previous | Next