We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ad7cc commit 6c24430Copy full SHA for 6c24430
tunnel/internal/client/tui/tui.go
@@ -400,6 +400,20 @@ func (m *model) AddLog(msg AddLogMsg) {
400
// Combine new row with existing rows
401
allRows := append(rows, existingRows...)
402
m.table.SetRows(allRows)
403
+
404
+ // Set styles only when we have actual log messages
405
+ s := table.DefaultStyles()
406
+ s.Header = s.Header.
407
+ BorderStyle(lipgloss.NormalBorder()).
408
+ BorderForeground(lipgloss.Color("240")).
409
+ BorderBottom(true).
410
+ Bold(false)
411
412
+ s.Selected = s.Selected.
413
+ Foreground(lipgloss.Color("229")).
414
+ Background(lipgloss.Color("57")).
415
416
+ m.table.SetStyles(s)
417
}
418
419
// Add method to handle debug logs
0 commit comments