shellshare
shellshare copied to clipboard
Add indicator that the terminal is being transmitted
A suggestion I've found in https://news.ycombinator.com/item?id=6191266 was to add a red recording sign. To do so, we could use:
RECORDING="`printf '\033[1;31m\342\227\217\033[0m '`"
export PS1="$RECORDING $PS1"
The problem is: how to pass this through script?
What do you mean by "how to pass this through script"?
When we run script, it forks a shell process. How do we inject an environment variable in this new process? Not sure if it's possible...