Browse Source

gofmt

pull/8/head
David Haukeness 5 years ago
parent
commit
60c55b69bc
No known key found for this signature in database
GPG Key ID: A7F1091956853EF9
  1. 2
      main.go

2
main.go

@ -350,7 +350,7 @@ func handleTab() error {
} else if rLen <= 5 { } else if rLen <= 5 {
newViewTitle = fmt.Sprintf("%s|| %s", originalViewTitle, strings.Join(resultSlice, " ")) newViewTitle = fmt.Sprintf("%s|| %s", originalViewTitle, strings.Join(resultSlice, " "))
} else if rLen > 5 { } else if rLen > 5 {
newViewTitle = fmt.Sprintf("%s|| %s +%d more", originalViewTitle, strings.Join(resultSlice[:6], " "), rLen - 5) newViewTitle = fmt.Sprintf("%s|| %s +%d more", originalViewTitle, strings.Join(resultSlice[:6], " "), rLen-5)
} }
viewTitle("Input", newViewTitle) viewTitle("Input", newViewTitle)
remainder := stringRemainder(s, lcp) remainder := stringRemainder(s, lcp)

Loading…
Cancel
Save