From 2336cbb2f0e6e08cbf9f88aa3d11396783c0cc67 Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Thu, 4 Aug 2022 18:59:36 -0700 Subject: [PATCH] keybindingsFromFile: clarify exception behavior --- src/Brick/Keybindings/Parse.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Brick/Keybindings/Parse.hs b/src/Brick/Keybindings/Parse.hs index d2a779d..2194ccb 100644 --- a/src/Brick/Keybindings/Parse.hs +++ b/src/Brick/Keybindings/Parse.hs @@ -157,8 +157,9 @@ keybindingsFromIni :: KeyEvents k keybindingsFromIni evs section doc = Ini.parseIniFile doc (keybindingIniParser evs section) --- | Parse custom key binidngs from the specified INI file path. See --- 'keybindingsFromIni' for details. +-- | Parse custom key binidngs from the specified INI file path. This +-- does not catch or convert any exceptions resulting from I/O errors. +-- See 'keybindingsFromIni' for details. keybindingsFromFile :: KeyEvents k -- ^ The key event name mapping to use to parse the -- configuration data.