History

stats.lua: filter keybindings by comment

Requested in #14966.

Guido Cella committed 2 years ago

Commit dcd681e1 parent a6c363e1 file · +1 −1Browse files

Unified · Split

player/lua/stats.lua+1−1
@@ -474,7 +474,7 @@ local function get_kbinfo_lines() · 473 unmodified lines
474 and bind.section ~= "input_forced_console"474 and bind.section ~= "input_forced_console"
475 and (475 and (
476 searched_text == nil or476 searched_text == nil or
477 (bind.key .. bind.cmd):lower():find(searched_text, 1, true)477 (bind.key .. bind.cmd .. (bind.comment or "")):lower():find(searched_text, 1, true)
478 )478 )
479 then479 then
480 active[bind.key] = bind480 active[bind.key] = bind

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t