Skip to content

Commit 586d8ee

Browse files
committed
Fix simple race condition related to offset calculations introduced.
1 parent d9af567 commit 586d8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runebuf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ func (r *RuneBuffer) getAndSetOffset(t *Terminal) {
510510
// at the beginning of the next line.
511511
r.w.Write([]byte(" \b"))
512512
}
513-
t.GetOffset(r.setOffset)
513+
t.GetOffset(r.SetOffset)
514514
}
515515

516516
func (r *RuneBuffer) SetOffset(offset string) {

0 commit comments

Comments
 (0)