From dbec77af578dfc5400c22418bc0c9824ab9edc2f Mon Sep 17 00:00:00 2001 From: Audun Stien Date: Mon, 27 May 2024 11:14:54 +0000 Subject: [PATCH] fix: stop table header cells from being selectable --- internal/ui/table.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ui/table.go b/internal/ui/table.go index 0af73164ec..c952eff938 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -445,6 +445,7 @@ func (t *Table) AddHeaderCell(col int, h model1.HeaderColumn) { sortCol := h.Name == sc.Name c := tview.NewTableCell(sortIndicator(sortCol, sc.ASC, t.styles.Table(), h.Name)) c.SetExpansion(1) + c.SetSelectable(false) c.SetAlign(h.Align) t.SetCell(0, col, c) }