From 7f627a2eb6ce3aa291a188da57f83ad0c2c0e7cb Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Fri, 10 Jan 2014 14:36:32 -0500 Subject: [PATCH] Fix textinput key repeat not working in 0.8.0 --- objects/textinput.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/objects/textinput.lua b/objects/textinput.lua index 494b0fa..39459d6 100644 --- a/objects/textinput.lua +++ b/objects/textinput.lua @@ -857,7 +857,9 @@ function newobject:RunKey(key, unicode, is_text) end end - self.unicode = 0 + if love._version == "0.9.0" then + self.unicode = 0 + end local curtext = self:GetText() if ontextchanged and initialtext ~= curtext then