From 44ddce3eef86420fb3203db0649e86467cf3aeff Mon Sep 17 00:00:00 2001 From: Daniel Milde Date: Fri, 16 Feb 2024 18:46:51 +0100 Subject: [PATCH] fix: set reference for last devices column fixes #315 --- tui/show.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui/show.go b/tui/show.go index abf35cab9..0038bd674 100644 --- a/tui/show.go +++ b/tui/show.go @@ -189,7 +189,7 @@ func (ui *UI) showDevices() { ui.table.SetCell(i+1, 2, tview.NewTableCell(sizeColor+ui.formatSize(device.Size-device.Free, false, true))) ui.table.SetCell(i+1, 3, tview.NewTableCell(getDeviceUsagePart(device, ui.useOldSizeBar))) ui.table.SetCell(i+1, 4, tview.NewTableCell(ui.formatSize(device.Free, false, true))) - ui.table.SetCell(i+1, 5, tview.NewTableCell(textColor+device.MountPoint)) + ui.table.SetCell(i+1, 5, tview.NewTableCell(textColor+device.MountPoint).SetReference(ui.devices[i])) } var footerNumberColor, footerTextColor string