add logs border title
parent
21cfe9a243
commit
0b007b9c77
|
|
@ -19,6 +19,7 @@ type TableComponent interface {
|
|||
layout.Focusable
|
||||
layout.Sizeable
|
||||
layout.Bindings
|
||||
layout.Bordered
|
||||
}
|
||||
|
||||
var logger = logging.Get()
|
||||
|
|
@ -27,6 +28,12 @@ type tableCmp struct {
|
|||
table table.Model
|
||||
}
|
||||
|
||||
func (i *tableCmp) BorderText() map[layout.BorderPosition]string {
|
||||
return map[layout.BorderPosition]string{
|
||||
layout.TopLeftBorder: "Logs",
|
||||
}
|
||||
}
|
||||
|
||||
type selectedLogMsg logging.LogMessage
|
||||
|
||||
func (i *tableCmp) Init() tea.Cmd {
|
||||
|
|
|
|||
Loading…
Reference in New Issue