console.lua: add numpad + - * / keybindings

numpad + - * / was remapped to KP_ADD/KP_SUBTRACT/KP_MULTIPLY/KP_DIVIDE in #14660
This commit is contained in:
verygoodlee 2024-08-20 18:21:18 +08:00 committed by Kacper Michajłow
parent f44c29b223
commit e3a9ce22f9
1 changed files with 4 additions and 0 deletions

View File

@ -1575,6 +1575,10 @@ local function get_bindings()
{ 'ctrl+del', del_next_word },
{ 'alt+d', del_next_word },
{ 'kp_dec', function() handle_char_input('.') end },
{ 'kp_add', function() handle_char_input('+') end },
{ 'kp_subtract', function() handle_char_input('-') end },
{ 'kp_multiply', function() handle_char_input('*') end },
{ 'kp_divide', function() handle_char_input('/') end },
}
for i = 0, 9 do