Commit b43e29d
authored
Default to 'off' when invoked on an obviously SSH shell (#76)
While this doesn't determine if invoked over an SSH shell with 100%
certainty (like if sudo is involved), it's a trivial hint that the user
probably doesn't want desktop notifications enabled.
Note that the behavior can still be specified either way, we're just
changing the default behavior here.1 parent e535828 commit b43e29d
File tree
1 file changed
+9
-0
lines changed- colcon_notification/event_handler/desktop_notification
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
0 commit comments