Merge pull request #43 from mtlstats/bugfix-uc-hangs

bugfix: uppercase prompt hangs
This commit is contained in:
Jonathan Lamothe
2019-12-02 14:34:39 -05:00
committed by GitHub

View File

@@ -123,7 +123,7 @@ ucStrPrompt
-> (String -> Action ()) -> (String -> Action ())
-- ^ The callback function for the result -- ^ The callback function for the result
-> Prompt -> Prompt
ucStrPrompt pStr act = (ucStrPrompt pStr act) ucStrPrompt pStr act = (strPrompt pStr act)
{ promptProcessChar = \ch -> (++ [toUpper ch]) } { promptProcessChar = \ch -> (++ [toUpper ch]) }
-- | Builds a numeric prompt -- | Builds a numeric prompt