vty-6.2: A simple terminal UI library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Vty.UnicodeWidthTable.Types

Synopsis

Documentation

data UnicodeWidthTable Source #

A run-length-encoded table of Unicode character widths.

Constructors

UnicodeWidthTable 

Fields

Instances

Instances details
Show UnicodeWidthTable Source # 
Instance details

Defined in Graphics.Vty.UnicodeWidthTable.Types

Methods

showsPrec :: Int -> UnicodeWidthTable -> ShowS

show :: UnicodeWidthTable -> String

showList :: [UnicodeWidthTable] -> ShowS

data WidthTableRange Source #

A range of code points in a width table.

Constructors

WidthTableRange 

Fields

  • rangeStart :: Word32

    The range's starting code point.

  • rangeSize :: Word32

    The number of code points in the contiguous range, beginning with the starting code point (rangeStart).

  • rangeColumns :: Word8

    The terminal width, in columns, of all of the characters corresponding to the code points in this range.

Instances

Instances details
Show WidthTableRange Source # 
Instance details

Defined in Graphics.Vty.UnicodeWidthTable.Types

Methods

showsPrec :: Int -> WidthTableRange -> ShowS

show :: WidthTableRange -> String

showList :: [WidthTableRange] -> ShowS

Eq WidthTableRange Source # 
Instance details

Defined in Graphics.Vty.UnicodeWidthTable.Types