repline icon indicating copy to clipboard operation
repline copied to clipboard

Add the ability to control the history file behavior

Open rami3l opened this issue 3 years ago • 0 comments

Sometimes I wish to store the history somewhere like ~/.local/, this will be more convenient for a shell-like application.

However, I've noticed that currently the history-related configurations seem to be hardcoded:

https://github.com/sdiehl/repline/blob/acd6fd3aa428a5973567468e58fb60a7ae0c5ef8/src/System/Console/Repline.hs#L403-L404

I think it would be nice if I could control these options while conserving all the niceties that come with this wrapper :)

Anyway, thanks a lot for making this project! 🙏

rami3l avatar Dec 18 '22 03:12 rami3l