about summary refs log tree commit diff stats
path: root/source.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 /source.lua
parentc4019777bbb2f302799fd46fa808bd6d6126d6cc (diff)
parent46cd42ecdc05d5fddb125ed4494b79ecccbfebba (diff)
downloadview.love-2ea70f3adfcd1cc8fc60ed05c57fbba9f5faf38f.tar.gz
Merge text.love
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/source.lua b/source.lua
index 7eec594..6b35fc6 100644
--- a/source.lua
+++ b/source.lua
@@ -285,6 +285,7 @@ end
 
 function source.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
 --?   print('mouse click', x, y)
 --?   print(Editor_state.left, Editor_state.right)
 --?   print(Log_browser_state.left, Log_browser_state.right)