mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-24 08:01:03 +00:00
Merge pull request #32 from jonyhy96/master
fix strings.ReplaceAll() does't exist error while go version bellow 1.12
This commit is contained in:
commit
a51bb830a5
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func (l *Layer) GetDisplayStrings(isFocused bool) []string {
|
||||||
createdBy = utils.ColoredString(split[0], color.FgYellow) + " " + strings.Join(split[1:], " ")
|
createdBy = utils.ColoredString(split[0], color.FgYellow) + " " + strings.Join(split[1:], " ")
|
||||||
}
|
}
|
||||||
|
|
||||||
createdBy = strings.ReplaceAll(createdBy, "\t", " ")
|
createdBy = strings.Replace(createdBy, "\t", " ", -1)
|
||||||
|
|
||||||
size := utils.FormatBinaryBytes(int(l.Size))
|
size := utils.FormatBinaryBytes(int(l.Size))
|
||||||
sizeColor := color.FgWhite
|
sizeColor := color.FgWhite
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue