3 ms·
Bit hacky but you could keep a long-running Bash process and use PROMPT_COMMAND to notify you to start a new block? I love this kind of thing, by the way. I'm
by rogual 6y ago
Bit hacky but you could keep a long-running Bash process and use PROMPT_COMMAND to notify you to start a new block?
I love this kind of thing, by the way. I'm sure terminal emulators are not the best we can do, CLI-wise.
- sime2009 6y agoThe shell integration in [Extraterm](http://extraterm.org/features.html http://extraterm.org/features.html) and [iTerm2](https://iterm2.com/documentation-shell-integration.html https://iterm2.com/documentation-shell-integration.html) both work via 'hooks' related to the command prompt and command execution.