Project and Repair workspaces; adoption keeps the person's own pane; truncation fix
This commit is contained in:
@@ -137,9 +137,10 @@ func truncateVisible(s string, w int) string {
|
||||
i += len(string(r[0]))
|
||||
visible++
|
||||
}
|
||||
out.WriteString("…")
|
||||
// close any styling that is still open
|
||||
out.WriteString("\x1b[0m")
|
||||
if i < len(s) {
|
||||
out.WriteString("…")
|
||||
out.WriteString("\x1b[0m")
|
||||
}
|
||||
return out.String()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user