about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-17 21:37:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-17 21:37:39 -0700
commit8d2f81948a995d642f4f4235226013276823b03e (patch)
treefe210b3b285d403b77e332372b6c2e1d9a8163c7
parentde495ae0f1574ee1f0fb803ff05c77aaf04f13fc (diff)
downloadview.love-8d2f81948a995d642f4f4235226013276823b03e.tar.gz
enable pressing and holding backspace
-rw-r--r--main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index a5cd066..16d743a 100644
--- a/main.lua
+++ b/main.lua
@@ -68,6 +68,7 @@ function love.load(arg)
   love.window.setTitle('Text with Lines')
   Drawing_width = math.floor(Screen_width/2/40)*40
   love.keyboard.setTextInput(true)  -- bring up keyboard on touch screen
+  love.keyboard.setKeyRepeat(true)
   if #arg > 0 then
     Filename = arg[1]
   end