diff --git a/data/computercraft/lua/rom/apis/lgui.lua b/data/computercraft/lua/rom/apis/lgui.lua index 3a3d84b..80538ff 100644 --- a/data/computercraft/lua/rom/apis/lgui.lua +++ b/data/computercraft/lua/rom/apis/lgui.lua @@ -320,9 +320,15 @@ function TextField:draw() -- Draw cursor if self.focused and self.enabled then term.setCursorPos(self.x + self.cursorPosDisplay, self.y) - term.blink(true) - else - term.blink(false) + -- CC Tweaked doesn't support term.blink, so we'll invert the colors instead + local currentFg = term.getTextColor() + local currentBg = term.getBackgroundColor() + term.setTextColor(currentBg) + term.setBackgroundColor(currentFg) + term.write(" ") + term.setTextColor(currentFg) + term.setBackgroundColor(currentBg) + term.setCursorPos(self.x + self.cursorPosDisplay, self.y) end term.setTextColor(oldFg) diff --git a/installer.lua b/installer.lua index 0dfe950..24c837f 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "0.3.8 Beta 3 Alpha 2" +local INSTALLER_VERSION = "0.3.8 Beta 3 Alpha 3" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")