Commit 620dd55
committed
Show session age in the "detached Mosh sessions" warning
Previously, the message just told you the pid of the detached mosh session:
- mosh [3892360]
But this doesn't immediately give you any hints about if this is an ancient
session that's clearly from a dead process or not.
Now it looks like this:
- mosh [3892360] (age 58d 11h 5m)
Now it's more obvious if this session is part of a stale session or not1 parent 1105d48 commit 620dd55
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
1028 | 1050 | | |
1029 | 1051 | | |
1030 | 1052 | | |
| |||
1042 | 1064 | | |
1043 | 1065 | | |
1044 | 1066 | | |
| 1067 | + | |
1045 | 1068 | | |
1046 | 1069 | | |
1047 | 1070 | | |
1048 | 1071 | | |
1049 | 1072 | | |
1050 | 1073 | | |
1051 | 1074 | | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1052 | 1079 | | |
1053 | 1080 | | |
1054 | 1081 | | |
| |||
0 commit comments