Skip to content

Commit cde3aad

Browse files
committed
Fixed windows build error.
1 parent 2ac1fc0 commit cde3aad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/output/progress_win.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (d *Spinner) moveCaretBackInCommandPrompt(n int) {
4747
cursor.x = csbi.cursorPosition.x + short(-n)
4848
cursor.y = csbi.cursorPosition.y
4949

50-
_, _, err2 = procSetConsoleCursorPosition.Call(uintptr(handle), uintptr(*(*int32)(unsafe.Pointer(&cursor))))
50+
_, _, err2 := procSetConsoleCursorPosition.Call(uintptr(handle), uintptr(*(*int32)(unsafe.Pointer(&cursor))))
5151
if err2 != nil && !d.reportedError {
5252
rollbar.Error("Error calling SetConsoleCursorPosition: %v", err2)
5353
d.reportedError = true

0 commit comments

Comments
 (0)