about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-07-17 14:32:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-07-17 14:32:27 -0700
commitfab72a2902efe3271b8bf586a31c8c8ab8c7c1e8 (patch)
tree9adb060192098561a28c424b5d8ecfb6aa56e1c8
parent1d3751fb823916bea290ec4503cbac2a0d43ac83 (diff)
downloadview.love-fab72a2902efe3271b8bf586a31c8c8ab8c7c1e8.tar.gz
fix a comment
-rw-r--r--source_text.lua2
-rw-r--r--text.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/source_text.lua b/source_text.lua
index 8d169a7..76e9045 100644
--- a/source_text.lua
+++ b/source_text.lua
@@ -198,7 +198,7 @@ function Text.text_input(State, t)
   if App.mouse_down(1) then return end
   if App.any_modifier_down() then
     if App.key_down(t) then
-      -- The modifiers didn't change the key. Handle it in keychord_pressed.
+      -- The modifiers didn't change the key. Handle it in keychord_press.
       return
     else
       -- Key mutated by the keyboard layout. Continue below.
diff --git a/text.lua b/text.lua
index b073fbd..ac07903 100644
--- a/text.lua
+++ b/text.lua
@@ -124,7 +124,7 @@ function Text.text_input(State, t)
   if App.mouse_down(1) then return end
   if App.any_modifier_down() then
     if App.key_down(t) then
-      -- The modifiers didn't change the key. Handle it in keychord_pressed.
+      -- The modifiers didn't change the key. Handle it in keychord_press.
       return
     else
       -- Key mutated by the keyboard layout. Continue below.