From 1162c0f864ac16db72c76695d48c2578d799e780 Mon Sep 17 00:00:00 2001 From: Whitecl4ws Date: Sat, 28 Jan 2017 11:26:48 -0500 Subject: [PATCH] Update README.md Added key repeat option for classic GUI backspace --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b900540..d015ee7 100644 --- a/README.md +++ b/README.md @@ -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)