mkVty: clarify fallback behavior

This commit is contained in:
Jonathan Daugherty 2020-03-03 09:22:20 -08:00
parent e3ccaa7675
commit 092cca91ca

View File

@ -117,7 +117,8 @@ data Vty = Vty
-- load a custom unicode character width table if one has not already -- load a custom unicode character width table if one has not already
-- been loaded in this process. If the load is attempted and fails, -- been loaded in this process. If the load is attempted and fails,
-- information about the failure will be logged to the debug log if the -- information about the failure will be logged to the debug log if the
-- configuration specifies one. -- configuration specifies one. If no custom table is loaded (or if a
-- load fails), the built-in character width table will be used.
mkVty :: Config -> IO Vty mkVty :: Config -> IO Vty
mkVty appConfig = do mkVty appConfig = do
config <- (<> appConfig) <$> userConfig config <- (<> appConfig) <$> userConfig