about summary refs log tree commit diff stats
path: root/run.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-09-10 20:00:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-09-10 20:00:26 -0700
commit46cd42ecdc05d5fddb125ed4494b79ecccbfebba (patch)
treec0554bfdae95e7460748f68dc75f18159f952f4a /run.lua
parente58d83b95075189faca41ecd6ad15d5bbe344bd4 (diff)
parent4af6f7b9e756e6b3add0ed61ea9fc0e0709d874a (diff)
downloadview.love-46cd42ecdc05d5fddb125ed4494b79ecccbfebba.tar.gz
Merge lines.love
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/run.lua b/run.lua
index 307505d..9a7051d 100644
--- a/run.lua
+++ b/run.lua
@@ -168,6 +168,7 @@ end
 
 function run.mouse_press(x,y, mouse_button)
   Cursor_time = 0  -- ensure cursor is visible immediately after it moves
+  love.keyboard.setTextInput(true)  -- bring up keyboard on touch screen
   return edit.mouse_press(Editor_state, x,y, mouse_button)
 end