summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-08-18 08:28:22 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-08-28 14:21:06 +0200
commit7953f7fa865df345bcbcdf5ae566bfb828d98086 (patch)
tree30657199ee7ec7ac6b5e2d898d7c36f498fdf7ed /pkg/gui/presentation
parent7a8df7795c2381cb1b94411fcdd8542739026934 (diff)
Make RenderDisplayStrings return the column positions
Not used by anything yet, but we'll need it later in this branch.
Diffstat (limited to 'pkg/gui/presentation')
-rw-r--r--pkg/gui/presentation/commits_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/presentation/commits_test.go b/pkg/gui/presentation/commits_test.go
index 5167681cd..16f1de660 100644
--- a/pkg/gui/presentation/commits_test.go
+++ b/pkg/gui/presentation/commits_test.go
@@ -422,7 +422,7 @@ func TestGetCommitListDisplayStrings(t *testing.T) {
s.showYouAreHereLabel,
)
- renderedLines := utils.RenderDisplayStrings(result, nil)
+ renderedLines, _ := utils.RenderDisplayStrings(result, nil)
renderedResult := strings.Join(renderedLines, "\n")
t.Logf("\n%s", renderedResult)