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