about summary refs log tree commit diff stats
path: root/commands.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-12-23 17:16:19 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-12-23 18:52:28 -0800
commit2b3e09ca0fadcaaeac8d563aae1baeb7e7da3754 (patch)
treefa1d6ef4e18c53c9d4400917ade89e063a30a8c3 /commands.lua
parente2e3aea2b1b9504bf849d1ab3ca9eb16544b651d (diff)
downloadtext.love-2b3e09ca0fadcaaeac8d563aae1baeb7e7da3754.tar.gz
make love event names consistent
I want the words to be easy to read, and to use a consistent tense.
update and focus seem more timeless; let's make everything like those.
Diffstat (limited to 'commands.lua')
-rw-r--r--commands.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands.lua b/commands.lua
index dd096ac..b1ac5ab 100644
--- a/commands.lua
+++ b/commands.lua
@@ -151,7 +151,7 @@ function reset_file_navigator()
   File_navigation.candidates = File_navigation.all_candidates
 end
 
-function keychord_pressed_on_file_navigator(chord, key)
+function keychord_press_on_file_navigator(chord, key)
   log(2, 'file navigator: '..chord)
   log(2, {name='file_navigator_state', files=File_navigation.candidates, index=File_navigation.index})
   if chord == 'escape' then
@@ -289,7 +289,7 @@ function file_index(fy, fx, fwidth)
   return best_guess
 end
 
-function textinput_on_file_navigator(t)
+function text_input_on_file_navigator(t)
   File_navigation.filter = File_navigation.filter..t
   File_navigation.candidates = source.file_navigator_candidates()
 end