From 16d5f27832ed04e77aefb9430473ee64c07c547b Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Tue, 3 Mar 2020 13:13:41 -0800 Subject: [PATCH] installUnicodeWidthTable: improve documentation again --- src/Graphics/Vty/UnicodeWidthTable/Install.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Graphics/Vty/UnicodeWidthTable/Install.hs b/src/Graphics/Vty/UnicodeWidthTable/Install.hs index b9ec0a3..5d96c02 100644 --- a/src/Graphics/Vty/UnicodeWidthTable/Install.hs +++ b/src/Graphics/Vty/UnicodeWidthTable/Install.hs @@ -35,7 +35,10 @@ isCustomTableReady = (== 1) <$> c_isCustomTableReady tableSize :: Int tableSize = 0x110000 --- | Install a custom unicode character width table. +-- | Install a custom unicode character width +-- table. Such tables are obtained with +-- 'Graphics.Vty.UnicodeWidthTable.Query.buildUnicodeWidthTable' and +-- 'Graphics.Vty.UnicodeWidthTable.IO.readUnicodeWidthTable'. -- -- This affects the behavior of the 'Graphics.Vty.Image.wcwidth' -- function and functions that call it. It does so by