Update README.md
Added key repeat option for classic GUI backspace
This commit is contained in:
parent
549693dd38
commit
1162c0f864
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ local suit = require 'suit'
|
|||
-- storage for text input
|
||||
local input = {text = ""}
|
||||
|
||||
-- By default, backspace only registers once, if you want classic GUI backspace that keeps going when pushed down
|
||||
-- Add this line: love.keyboard.setKeyRepeat(true)
|
||||
|
||||
-- all the UI is defined in love.update or functions that are called from here
|
||||
function love.update(dt)
|
||||
-- put the layout origin at position (100,100)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue