Skip to content

Commit

Permalink
Update readline/buffer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
  • Loading branch information
joshyan1 and BruceMacD committed May 23, 2024
1 parent 931d29b commit 013b201
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion readline/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ func (b *Buffer) countCurrLength(place int) int {
var prevLen int

for place <= b.LineWidth {

counter += 1
sum += prevLen
if e, ok := b.Buf.Get(b.Pos + counter); ok {
Expand Down

0 comments on commit 013b201

Please sign in to comment.