Quickly iterate on complex shell commands.
Edit commands in the top pane, and each time you press enter the first n lines will appear in the preview pane.
- Avoid blocking until the command completes, by reading the
Popenpipe line by line. (Will require a workingflush). - Do some basic caching to avoid recomputing repeated results.
- If the user exits with ctrl-D, insert the final command into their shell session somehow. (Paste buffer?) For now, we just print it.
-
all backends
- terminal color escape codes aren't supported in the output frame.
-
cursesbackend- If you press enter with an empty input pane, instapipe exits.
- Instant mode isn't supported.