bugfix: uppercase prompt hangs

This commit is contained in:
Jonathan Lamothe 2019-12-02 13:46:43 -05:00
parent 9e6b71c464
commit 1ca2ffc378

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