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:
parent
381a87f9f3
commit
ffd75eb8f1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user