Issue 33: Finished most aspects of the expression language (#38)

- Most aspects of scans and queries can now be represented using the expression language
- All constructs of the expression language can be used to evaluate items
This commit is contained in:
Leon Mika 2022-11-18 07:31:15 +11:00 committed by GitHub
parent 7d2817812c
commit 917663fac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1815 additions and 370 deletions

View file

@ -24,7 +24,7 @@ func (clr colListRowModel) Render(w io.Writer, model table.Model, index int) {
col := clr.m.colController.Columns().Columns[index]
if !col.Hidden {
fmt.Fprintln(w, style.Render(fmt.Sprintf(".\t%v", col.Name)))
fmt.Fprintln(w, style.Render(fmt.Sprintf("\t%v", col.Name)))
} else {
fmt.Fprintln(w, style.Render(fmt.Sprintf("✕\t%v", col.Name)))
}