From 343f13360bba5f015a2d64cc8e9b97fcdce4d2ae Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Fri, 25 Mar 2016 19:29:55 +0300 Subject: [PATCH] Update Photoshop.lua --- Applications/Photoshop/Photoshop.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Applications/Photoshop/Photoshop.lua b/Applications/Photoshop/Photoshop.lua index 85e3ef65..97380e61 100644 --- a/Applications/Photoshop/Photoshop.lua +++ b/Applications/Photoshop/Photoshop.lua @@ -361,7 +361,7 @@ local function inputText(x, y, limit) local inputPos = 1 local function drawThisShit() - for i=1,inputPos do + for i = 1, inputPos do ecs.invertedText(x + i - 1, y + 1, "─") ecs.adaptiveText(x + i - 1, y - 1, " ", currentBackground) end @@ -388,9 +388,11 @@ local function inputText(x, y, limit) break elseif e[4] == 200 then text = "▀" + inputPos = 1 drawThisShit() elseif e[4] == 208 then text = "▄" + inputPos = 1 drawThisShit() else local symbol = ecs.convertCodeToSymbol(e[3])