No padding when log is not realtime

This commit is contained in:
Nonoo 2020-10-29 22:16:20 +01:00
parent b73fa95a46
commit 2253c87cfc

View file

@ -112,6 +112,10 @@ func (s *statusLogStruct) print() {
}
func (s *statusLogStruct) padLeft(str string, length int) string {
if !s.isRealtimeInternal() {
return str
}
for len(str) < length {
str = " " + str
}