judah / 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

Support flushing command history #148

Open 414owen opened 3 years ago

414owen commented 3 years ago

Doesn't look like https://github.com/judah/haskeline/pull/36 will be updated, I'm happy to pick up where that PR left off.

Changes:

Regressions:

In order to append to history file, items are now written in the order they were entered. This is the opposite of the previous behavior, so when applications upgrade, their history up to that point will be in reverse order.

nkartashov commented 3 years ago

@414owen hey, sorry for disappearing, happy for you to pick it up!

414owen commented 3 years ago

:wave: @judah