enable pressing and holding backspace
This commit is contained in:
parent
de495ae0f1
commit
8d2f81948a
1
main.lua
1
main.lua
|
@ -68,6 +68,7 @@ function love.load(arg)
|
||||||
love.window.setTitle('Text with Lines')
|
love.window.setTitle('Text with Lines')
|
||||||
Drawing_width = math.floor(Screen_width/2/40)*40
|
Drawing_width = math.floor(Screen_width/2/40)*40
|
||||||
love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
|
love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
|
||||||
|
love.keyboard.setKeyRepeat(true)
|
||||||
if #arg > 0 then
|
if #arg > 0 then
|
||||||
Filename = arg[1]
|
Filename = arg[1]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue