bedit: Fixed addition of weird DC3 character when saving
This commit is contained in:
@@ -188,8 +188,7 @@ while true do
|
|||||||
if keyboard.keys[eventArgs[4]] == "s" then
|
if keyboard.keys[eventArgs[4]] == "s" then
|
||||||
save()
|
save()
|
||||||
end
|
end
|
||||||
end
|
else
|
||||||
|
|
||||||
if keyboard.keys[eventArgs[4]] == "up" and cursorY > 1 then
|
if keyboard.keys[eventArgs[4]] == "up" and cursorY > 1 then
|
||||||
if cursorY - scrollY <= 1 then
|
if cursorY - scrollY <= 1 then
|
||||||
renderBufferFlag = true
|
renderBufferFlag = true
|
||||||
@@ -283,6 +282,7 @@ while true do
|
|||||||
renderBufferFlag = true
|
renderBufferFlag = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
until next(eventArgs) == nil
|
until next(eventArgs) == nil
|
||||||
local displayedCursorX = cursorX - scrollX
|
local displayedCursorX = cursorX - scrollX
|
||||||
local displayedCursorY = cursorY - scrollY
|
local displayedCursorY = cursorY - scrollY
|
||||||
|
|||||||
Reference in New Issue
Block a user