about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-09-10 19:25:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-09-10 19:25:11 -0700
commit5afe11a9c42062c23991d5da62c1d90616f4e7da (patch)
tree4e6a5488b2965edfb606cbdb715a01e6fd082bd3 /main.lua
parentb4bcb85f7f1d5ba059afea93f26bc91ff97e3508 (diff)
downloadlines.love-5afe11a9c42062c23991d5da62c1d90616f4e7da.tar.gz
don't always pop up keyboard on mobile devices
We don't want to do this during app initialization because other forks
might not start out with an editor on screen even if this one does.

We don't want to perform this side-effect on edit.mouse_press, which
also runs in tests.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 232308e..4cca3b4 100644
--- a/main.lua
+++ b/main.lua
@@ -116,7 +116,6 @@ function check_love_version_for_tests()
 end
 
 function App.initialize(arg)
-  love.keyboard.setTextInput(true)  -- bring up keyboard on touch screen
   love.keyboard.setKeyRepeat(true)
 
   love.graphics.setBackgroundColor(1,1,1)