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:00:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-09-10 20:00:26 -0700
commit46cd42ecdc05d5fddb125ed4494b79ecccbfebba (patch)
treec0554bfdae95e7460748f68dc75f18159f952f4a /source.lua
parente58d83b95075189faca41ecd6ad15d5bbe344bd4 (diff)
parent4af6f7b9e756e6b3add0ed61ea9fc0e0709d874a (diff)
downloadview.love-46cd42ecdc05d5fddb125ed4494b79ecccbfebba.tar.gz
Merge lines.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 c85517d..0644195 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)