on master help sign in
buildUnicodeWidthTable: clarify usage intention
commit4401f5552684250494ddc128ba7827cd2fe5abda authorJonathan Daugherty <cygnus@foobox.com> dateThu 5 Mar 2020, 14:21 (7 years ago) parent2dbecaa
1 file changed+2−1
src/Graphics/Vty/UnicodeWidthTable/Query.hs+2−1
src/Graphics/Vty/UnicodeWidthTable/Query.hs+2−1
@@ -67,7 +67,8 @@ unicodeTableUpperBound = '\x2FFFF'
6767-- and then querying the terminal to determine the resulting cursor
6868-- position in order to measure character widths. Consequently this will
6969-- generate a lot of output and may take a while, depending on your
70−-- system performance.
70+-- system performance. This should not be run in a terminal while it is
71+-- controlled by Vty.
7172buildUnicodeWidthTable :: IO UnicodeWidthTable
7273buildUnicodeWidthTable = do
7374 pairs <- forM (filter shouldConsider ['\0'..unicodeTableUpperBound]) $ \i ->