Skip to content

Commit

Permalink
Simplify line number prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bakks committed Dec 23, 2023
1 parent 1427049 commit 8196dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion butterfish/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (this *LineBuffer) String() string {
func (this *LineBuffer) PrefixLineNumbers() string {
var result []string
for i, line := range this.Lines {
result = append(result, fmt.Sprintf("%d: %s", i+1, line))
result = append(result, fmt.Sprintf("%d %s", i+1, line))
}
return strings.Join(result, "\n")
}
Expand Down

0 comments on commit 8196dac

Please sign in to comment.