on master help sign in
buildUnicodeWidthTable: docs update
commit8c24083402031c1f48e9f98ebe70d54ce97f47d5 authorJonathan Daugherty <cygnus@foobox.com> dateThu 5 Mar 2020, 14:47 (7 years ago) parenteb1983d
1 file changed+4
src/Graphics/Vty/UnicodeWidthTable/Query.hs+4
src/Graphics/Vty/UnicodeWidthTable/Query.hs+4
@@ -65,6 +65,10 @@ defaultUnicodeTableUpperBound = '\xe0000'
6565-- system performance. This should not be run in a terminal while it is
6666-- controlled by Vty.
6767--
68+-- The argument specifies the upper bound code point to test when
69+-- building the table. This allows callers to decide how much of the
70+-- Unicode code point space to scan when building the table.
71+--
6872-- This does not handle exceptions.
6973buildUnicodeWidthTable :: Char -> IO UnicodeWidthTable
7074buildUnicodeWidthTable tableUpperBound = do