You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to request a feature for highlighting individual panes that are running with root permissions, similar to how Gnome's Console does.
Example: I have a pane open where I need to edit fstab (for whatever reason). I'd then run sudo ed /etc/fstab. While the command is running, it would be running with root permissions. During that time, I'd like to have some visual highlight for that fact, lets say that this highlight is a red border for that pane. And while unfocused, it darkens.
I have looked for a possible API methods to achieve this effect, but haven't found anything that would enable recreating this feature.
A possible idea for detecting if a pane is rootfull would be to check its id (via $EUID as example) and enable root colouring if it's 0. I believe the relevant detection function in Gnome Terminal would be this one.
The text was updated successfully, but these errors were encountered:
I'd like to request a feature for highlighting individual panes that are running with root permissions, similar to how Gnome's Console does.
Example: I have a pane open where I need to edit fstab (for whatever reason). I'd then run
sudo ed /etc/fstab
. While the command is running, it would be running with root permissions. During that time, I'd like to have some visual highlight for that fact, lets say that this highlight is a red border for that pane. And while unfocused, it darkens.I have looked for a possible API methods to achieve this effect, but haven't found anything that would enable recreating this feature.
A possible idea for detecting if a pane is rootfull would be to check its id (via
$EUID
as example) and enable root colouring if it's 0. I believe the relevant detection function in Gnome Terminal would be this one.The text was updated successfully, but these errors were encountered: