Skip to content

Commit

Permalink
tidy up some code made in previous commits
Browse files Browse the repository at this point in the history
  • Loading branch information
CogentRedTester committed Mar 7, 2025
1 parent 889c19c commit ad7a143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/keybinds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ g.state.keybinds = {
{'Shift+PGUP', 'list_top', function() cursor.scroll(-math.huge) end},
{'HOME', 'goto_current', movement.goto_current_dir},
{'Shift+HOME', 'goto_root', movement.goto_root},
{'Ctrl+r', 'reload', function() scanning.rescan() end},
{'Ctrl+r', 'reload', scanning.rescan},
{'s', 'select_mode', cursor.toggle_select_mode},
{'S', 'select_item', cursor.toggle_selection},
{'Ctrl+a', 'select_all', cursor.select_all}
Expand Down
2 changes: 1 addition & 1 deletion modules/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ end
---If the time limit expires the coroutine will be resumed. The first return value will be true
---if the callback was resumed within the time limit and false otherwise.
---If time_limit is falsy then there will be no time limit and there will be no additional return value.
---@param time_limit? number
---@param time_limit? number seconds
---@return fun(...)
function fb_utils.coroutine.callback(time_limit)
local co = fb_utils.coroutine.assert("cannot create a coroutine callback for the main thread")
Expand Down

0 comments on commit ad7a143

Please sign in to comment.