Support suspending `moor` (`ctrl-z`)
Does moor support suspension when shell supports job control? This is typically implemented when ctrl-z key combination is pressed, but moor doesn't respond to this shortcut 😕
Just a bit of context as an example: when running some CLI command in single terminal window, I often run man <tool> to refresh memory or to search for a specific cmdline arg and value. And if I'm crafting some complex CLI command or experimenting with args and options, I suspend man (ctrl-z), run command to see if I can get desired behavior, then bring man back to foreground by using fg in Bash, continue exploring manual page, and repeat until I'm satisfied.
Another similar example would be crafting a script or a program while keep editing it, where you open file, add changes, than suspend it to run it and verify whether it is doing what's expected, then bringing file back to foreground and continue editing, then suspend again and run, and repeat this multiple times.
Thank you.
@walles Is this at all possible with moor?
Nope, code changes needed.
Not a priority for me. This is a valid request, but even so I can't say if or when this could be implemented.
I see. Thanks for update.