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:06:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-09-10 20:06:02 -0700
commit2ea70f3adfcd1cc8fc60ed05c57fbba9f5faf38f (patch)
treee9f3661a9739816270ba7af67b91c0734f694f38 /run.lua
parentc4019777bbb2f302799fd46fa808bd6d6126d6cc (diff)
parent46cd42ecdc05d5fddb125ed4494b79ecccbfebba (diff)
downloadview.love-2ea70f3adfcd1cc8fc60ed05c57fbba9f5faf38f.tar.gz
Merge text.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 6ad9a01..db572ee 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