on master help sign in
commentary updates
commit013027997175acfe7e907e5075f9ff56680e54d1 authorCorey O'Connor <coreyoconnor@gmail.com> dateTue 15 Apr 2014, 12:07 (13 years ago) parente78f057
2 files changed+4−3
src/Graphics/Vty/Input/Internal.hs+3−2 src/Graphics/Vty/Input/Terminfo.hs+1−1
src/Graphics/Vty/Input/Internal.hs+3−2
@@ -4,6 +4,9 @@
44-- | The input layer used to be a single function that correctly accounted for the non-threaded
55-- runtime by emulating the terminal VMIN adn VTIME handling. This has been removed and replace with
66-- a more straightforward parser. The non-threaded runtime is no longer supported.
7+--
8+-- This is an example of an algorithm where code coverage could be high, even 100%, but the
9+-- behavior is still under tested. I should collect more of these examples...
710module Graphics.Vty.Input.Internal where
811
912import Graphics.Vty.Input.Events
@@ -222,8 +225,6 @@ attributeControl fd = do
222225 unsetAttrs = setTerminalAttributes fd original Immediately
223226 return (setAttrs,unsetAttrs)
224227
225−-- This is an example of an algorithm where code coverage could be high, even 100%, but the
226−-- algorithm still under tested. I should collect more of these examples...
227228initInputForFd :: Config -> ClassifyTable -> Fd -> IO Input
228229initInputForFd config classifyTable inFd = do
229230 applyTimingConfig inFd config
src/Graphics/Vty/Input/Terminfo.hs+1−1
@@ -40,7 +40,7 @@ classifyTableForTerm termName term =
4040 : universalTable
4141 : termSpecificTables termName
4242
43−-- | The user can specify a list of classify table entries in $HOME/.config/vty/input.conf and
43+-- | The user can specify a list of classify table entries in $HOME/.config/vty.conf and
4444-- $VTY_INPUT_CONFIG. The file at $VTY_INPUT_CONFIG takes precedence over the input.conf file. Both
4545-- take precedence over the classify tables determined by 'classifyTableForTerm'
4646--