template: Use KeyboardEvent.key to focus search input
The code
field is the hardware keycode, which is independent of
layout; we want to focus the search input when the user pressed the "S"
key on their keyboard.
Fixes: #151 (closed)
The code
field is the hardware keycode, which is independent of
layout; we want to focus the search input when the user pressed the "S"
key on their keyboard.
Fixes: #151 (closed)