Skip to content

Commit

Permalink
Fix simple race condition related to offset calculations introduced.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpodowd committed Feb 28, 2023
1 parent d9af567 commit 586d8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runebuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ func (r *RuneBuffer) getAndSetOffset(t *Terminal) {
// at the beginning of the next line.
r.w.Write([]byte(" \b"))
}
t.GetOffset(r.setOffset)
t.GetOffset(r.SetOffset)
}

func (r *RuneBuffer) SetOffset(offset string) {
Expand Down

0 comments on commit 586d8ee

Please sign in to comment.