Open VisenDev opened 1 week ago
I usually do this sort of thing with my terminal emulator or terminal multiplexer. I'm not sure what practical value it has these days when nearly every terminal has splits and/or tabs and key bindings to run commands. If you want something to drive a repl I think perhaps a plugin of some sort might be a better way to go.
perhaps, I usually only use a single terminal pane so sometimes it is convenient to be able to quickly run a command from my editor
Would you want to have the command output sent to an editor buffer? Or have flow suspend itself and hand over the tty? Flow doesn't support any kind of job control atm, so this could be a lot more complicated than it might seem. Stdio should be pretty simple though.
Would you want to have the command output sent to an editor buffer? Or have flow suspend itself and hand over the tty? Flow doesn't support any kind of job control atm, so this could be a lot more complicated than it might seem. Stdio should be pretty simple though.
My initial thought would be that suspending temporarily should be the most robust because then you can take advantage of the terminal emulator's builtin escape code processing. Sending output to a buffer is not important
We don't need to support anything fancy. For more complex terminal tasks, I agree using a tab is better - but for a really quick git status
check and similar things, it is convenient
Similar to
:!
in vim oralt-!
in emacs