Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 0b007b9

Browse files
committed
add logs border title
1 parent 21cfe9a commit 0b007b9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

internal/tui/components/logs/table.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ type TableComponent interface {
1919
layout.Focusable
2020
layout.Sizeable
2121
layout.Bindings
22+
layout.Bordered
2223
}
2324

2425
var logger = logging.Get()
@@ -27,6 +28,12 @@ type tableCmp struct {
2728
table table.Model
2829
}
2930

31+
func (i *tableCmp) BorderText() map[layout.BorderPosition]string {
32+
return map[layout.BorderPosition]string{
33+
layout.TopLeftBorder: "Logs",
34+
}
35+
}
36+
3037
type selectedLogMsg logging.LogMessage
3138

3239
func (i *tableCmp) Init() tea.Cmd {

0 commit comments

Comments
 (0)