mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
add container name to log view title
This commit is contained in:
parent
842809bef5
commit
17855e3d8e
2
menus.go
2
menus.go
@ -179,7 +179,7 @@ func LogMenu() MenuFn {
|
|||||||
|
|
||||||
logs, quit := logReader(c)
|
logs, quit := logReader(c)
|
||||||
m := widgets.NewTextView(logs)
|
m := widgets.NewTextView(logs)
|
||||||
m.BorderLabel = "Logs"
|
m.BorderLabel = fmt.Sprintf("Logs [%s]", c.GetMeta("name"))
|
||||||
ui.Render(m)
|
ui.Render(m)
|
||||||
|
|
||||||
ui.Handle("/sys/wnd/resize", func(e ui.Event) {
|
ui.Handle("/sys/wnd/resize", func(e ui.Event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user