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

Improve Windows support #120

Open bjartur opened 5 years ago

bjartur commented 5 years ago

Looking for preferences in $XDG_CONFIG_HOME or %APPDATA% improves standards conformance. In addition to resulting in a more predictable preference file location on Windows NT, it enables tidier ~ directories on all platforms. Declaring the text files in this repository as using LF terminated lines improves the contribution experience on legacy operating systems such as DOS, Windows and classic (pre-Darwin) Mac OS.