diff options
| author | Jeff Carr <[email protected]> | 2019-05-12 21:21:13 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-12 21:21:13 -0700 |
| commit | e5158c4ade120977fa9a5cfe576d6ecc94fbd2d4 (patch) | |
| tree | b801a4f02ef348c1805ce35dcb8f1b0245e07f34 /tableCallbacks.go | |
| parent | dd753552fdd28cc1feff911e51976a6946c502d1 (diff) | |
displays all the VM data
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tableCallbacks.go')
| -rw-r--r-- | tableCallbacks.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tableCallbacks.go b/tableCallbacks.go index 7c05d0e..6e6d14c 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -24,6 +24,10 @@ func (mh *TableData) ColumnTypes(m *ui.TableModel) []ui.TableValue { // TODO: Figure out why this is being called 1000 times a second (10 times for each row & column) // Nevermind this TODO. Who gives a shit. This is a really smart way to treat the OS toolkits func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue { + humanID := mh.Rows[row].Cells[column].HumanID + if (column == mh.Rows[row].Human[humanID].TextID) { + return mh.Rows[row].Human[humanID].Text + } return mh.Rows[row].Cells[column].Value } |
