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 19:35:06 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-09-10 19:35:06 -0700
commit4af6f7b9e756e6b3add0ed61ea9fc0e0709d874a (patch)
tree83c01957b75eb4ca748e7c21e6b8beb650db9c34 /source.lua
parent5afe11a9c42062c23991d5da62c1d90616f4e7da (diff)
downloadtext.love-4af6f7b9e756e6b3add0ed61ea9fc0e0709d874a.tar.gz
bugfix in source editor
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 d24957c..2c5e18e 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)