force capitalization in ucStrPrompt
This commit is contained in:
@@ -127,7 +127,7 @@ ucStrPrompt
|
||||
-- ^ The callback function for the result
|
||||
-> Prompt
|
||||
ucStrPrompt pStr act = (strPrompt pStr act)
|
||||
{ promptProcessChar = \ch -> editContentsL %~ insertChar ch }
|
||||
{ promptProcessChar = \ch -> editContentsL %~ insertChar (toUpper ch) }
|
||||
|
||||
-- | Creates a prompt which forces capitalization of input to
|
||||
-- accomodate a player or goalie name
|
||||
|
||||
Reference in New Issue
Block a user