summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2024-02-16 18:46:51 +0100
committerDaniel Milde <daniel@milde.cz>2024-02-16 18:46:51 +0100
commit44ddce3eef86420fb3203db0649e86467cf3aeff (patch)
tree36e9d4c65a75b37f28486b69b049fda60a277753
parent441172fba98ac60f3f278dd26f9352cd020620f7 (diff)
fix: set reference for last devices columnv5.27.0
fixes #315
-rw-r--r--tui/show.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/show.go b/tui/show.go
index abf35ca..0038bd6 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