7953f7fa86
Make RenderDisplayStrings return the column positions
...
Not used by anything yet, but we'll need it later in this branch.
2023-08-28 14:21:06 +02:00
7a8df7795c
Take removed columns into account when applying column alignments
2023-08-28 14:21:06 +02:00
72731f2c16
Change RenderDisplayStrings to return a slice of strings
...
We'll join them with newlines afterwards. This will make it easier to insert
other (non-model) items.
2023-08-28 14:21:06 +02:00
f680b6e82e
Cleanup: use slices.Delete to delete elements from a slice
...
I find this much easier to read.
2023-08-28 14:21:06 +02:00
e33fe37a99
Standardise on using lo for slice functions
...
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.
My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).
I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
a4db44bc3d
show commits against branches
2023-06-01 19:21:24 +10:00
ec3a28df43
Right-align key labels in menu
...
I find this makes it look a little nicer
2023-05-21 12:09:43 +10:00
1b75ed3740
many more generics
2022-03-24 20:14:41 +11:00
4ab5e54139
add support for git bisect
2022-01-22 10:48:51 +11:00
9989c96321
better formatting
2021-10-31 22:33:39 +11:00
f91892b8f1
fix truncation
2021-10-30 20:19:40 +11:00
b04b457246
fix yet another issue with indentation
2021-10-30 18:26:06 +11:00
6457800748
fix another issue with indentation
2021-10-30 18:26:06 +11:00
258eedb38c
refactor
2021-06-02 20:33:52 +10:00