Skip to content

Commit

Permalink
fix: set reference for last devices column
Browse files Browse the repository at this point in the history
fixes #315
  • Loading branch information
dundee committed Feb 16, 2024
1 parent 441172f commit 44ddce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tui/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44ddce3

Please sign in to comment.