noahgorstein / jqp

A TUI playground to experiment with jq
MIT License
2.19k stars 40 forks source link

Feature Request: Continuous evaluation #17

Open grandchild opened 2 years ago

grandchild commented 2 years ago

Hi there,

this is a nice tool, very similar to @gpanders/ijq which I've been using so far. The main difference (and why I'll be continuing to use ijq for now) is that ijq continually evaluates the expression, not just on Enter. This allows iterating, playing and trying things faster.

Maybe this is something you'd consider having as well? If not as default mode then at least with a hotkey for switching?

Thanks for writing this tool! 🙂

noahgorstein commented 2 years ago

Hey @grandchild. Appreciate the suggestion and think it's a great idea. I like the idea of a hotkey for switching also. When I get around to implementing this (hopefully soonish), would you mind giving it a test?

grandchild commented 2 years ago

Of course, gladly :) Glad you like the idea.

grandchild commented 2 years ago

Oh, this could also be a cmdline flag, so people could make an alias if they like continuous mode as default.