mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Make RenderDisplayStrings return the column positions
Not used by anything yet, but we'll need it later in this branch.
This commit is contained in:
@ -23,7 +23,7 @@ func (self *ListRenderer) renderLines(startIdx int, endIdx int) string {
|
||||
if self.getColumnAlignments != nil {
|
||||
columnAlignments = self.getColumnAlignments()
|
||||
}
|
||||
lines := utils.RenderDisplayStrings(
|
||||
lines, _ := utils.RenderDisplayStrings(
|
||||
self.getDisplayStrings(startIdx, utils.Min(endIdx, self.list.Len())),
|
||||
columnAlignments)
|
||||
return strings.Join(lines, "\n")
|
||||
|
Reference in New Issue
Block a user