cleaning up

mine
derailed 2019-04-29 11:44:30 -06:00
parent 445b475c21
commit 577b607d0c
2 changed files with 1 additions and 2 deletions

View File

@ -46,6 +46,5 @@ func (l *logView) flush(index int, buff []string, scroll bool) {
l.ScrollToEnd()
})
}
index = 0
}
}

View File

@ -64,7 +64,7 @@ func (v *podView) listContainers(app *appView, _, res, sel string) {
list := resource.NewContainerList(app.conn(), mx, po)
fmat := strings.Replace(containerFmt, "[fg", "["+v.app.styles.Style.Title.FgColor, -1)
fmat = strings.Replace(containerFmt, ":bg:", ":"+v.app.styles.Style.Title.BgColor+":", -1)
fmat = strings.Replace(fmat, ":bg:", ":"+v.app.styles.Style.Title.BgColor+":", -1)
fmat = strings.Replace(fmat, "[hilite", "["+v.app.styles.Style.Title.CounterColor, 1)
app.inject(newContainerView(