about summary refs log tree commit diff stats
path: root/text.lua
diff options
context:
space:
mode:
Diffstat (limited to 'text.lua')
-rw-r--r--text.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.lua b/text.lua
index a31f07c..0940776 100644
--- a/text.lua
+++ b/text.lua
@@ -138,7 +138,7 @@ function Text.compute_fragments(line, line_width)
 end
 
 function Text.textinput(t)
-  if App.mouse_down('1') then return end
+  if App.mouse_down(1) then return end
   if App.ctrl_down() or App.alt_down() or App.cmd_down() then return end
   if Selection1.line then
     Text.delete_selection()