haskell / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

find completions' common prefix case-insensitively #7

Open simonmichael opened 10 years ago

simonmichael commented 10 years ago

Hi Judah, thanks for an awesome library.

This lets me do case-insensitive completion in hledger add. Otherwise haskeline truncates completions to their common case-matched prefix, which is often a short or empty string.


This change is Reviewable