2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

Terminal: Remove delay on enter

This commit is contained in:
mbays 2024-08-17 12:08:24 +02:00 committed by Frans de Jonge
parent 381a87f9f3
commit ffd75eb8f1

View File

@ -461,7 +461,7 @@ function TermInputText:addChars(chars, skip_callback, skip_table_concat)
return
end
if self.enter_callback and chars == "\n" and not skip_callback then
UIManager:scheduleIn(0.3, function() self.enter_callback() end)
UIManager:nextTick(self.enter_callback)
return
end