Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
term: fix: ErrPrintf, PrintErrF print duplicate newlines
ErrPrintf and PrintErrF are calling Println which adds a newline to the end of the string. Printf-style method usually expect that the caller adds the newline. Make the behavior more predictable, by not printing duplicate newlines if the caller already provided one.
- Loading branch information