mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 08:49:40 +03:00
mkVty: clarify fallback behavior
This commit is contained in:
parent
e3ccaa7675
commit
092cca91ca
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user