From 8c39fa23a3b79b6bc39f975b81994e44e33ff482 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 17 Sep 2015 22:48:52 +0300 Subject: [PATCH] Update ECSAPI.lua --- lib/ECSAPI.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ECSAPI.lua b/lib/ECSAPI.lua index b9652549..d52cba94 100644 --- a/lib/ECSAPI.lua +++ b/lib/ECSAPI.lua @@ -920,6 +920,11 @@ function ECSAPI.inputText(x, y, limit, cheBiloVvedeno, background, foreground, j elseif e[1] == "touch" then term.setCursorBlink(false) return text + elseif e[1] == "clipboard" then + if e[3] then + text = text..e[3] + draw() + end end end end