fiatjaf / jiq

jid on jq - interactive JSON query tool using jq expressions
MIT License
917 stars 32 forks source link

History of used expressions #37

Open Vampire opened 9 months ago

Vampire commented 9 months ago

It would be nice to have a history of used expressions. If I for example fiddled an hour to have the exact query I need and then the program dies or whatever, all is lost that I don't have in memory. Would be nice to have some kind of history of used expressions.

It is of course a bit nasty as you do not type an expression and submit it, but each keypress is its own expression. But maybe there could be some clever logic like only if there is a result, or only if there were not expression errors or something like that.

fiatjaf commented 9 months ago

That's indeed a good idea and a feature to have.

Unfortunately I am not developing this package anymore and I wouldn't know how to add it.