don't let changes to the lua cursor bleed through

before, we could end up changing the state of whoever last called
guidm.setCursorPos()
develop
Myk Taylor 2022-09-18 08:20:33 -07:00
parent 1f15e4d47e
commit 3b650c8d0b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -104,7 +104,7 @@ function getCursorPos()
end end
function setCursorPos(cursor) function setCursorPos(cursor)
df.global.cursor = cursor df.global.cursor = copyall(cursor)
end end
function clearCursorPos() function clearCursorPos()