buildUnicodeWidthTable: clarify exception handling
commitaebf480d1d5c5a1f21dfdb03a40e42ef735fd6a5
authorJonathan Daugherty <cygnus@foobox.com>
dateThu 5 Mar 2020, 14:38 (7 years ago)
parent2a76f76
src/Graphics/Vty/UnicodeWidthTable/Query.hs+2
@@ -63,6 +63,8 @@ unicodeTableUpperBound = '\xe0000'
6363-- generate a lot of output and may take a while, depending on your
6464-- system performance. This should not be run in a terminal while it is
6565-- controlled by Vty.
66+--
67+-- This does not handle exceptions.
6668buildUnicodeWidthTable :: IO UnicodeWidthTable
6769buildUnicodeWidthTable = do
6870 pairs <- forM (filter shouldConsider ['\0'..unicodeTableUpperBound]) $ \i ->