add: fix over-zealous cleanup caught by hydra

This commit is contained in:
Simon Michael 2014-03-06 17:49:52 -08:00
parent 63eca19a7f
commit 8e6922c57c

View File

@ -303,6 +303,7 @@ amountCompleter = completer []
completer :: [String] -> String -> CompletionFunc IO
completer completions def = completeWord Nothing "" completionsFor
where
simpleCompletion' s = (simpleCompletion s){isFinished=False}
completionsFor "" = return [simpleCompletion' def]
completionsFor i = return (map simpleCompletion' ciprefixmatches)
where