[Chat Actions] Add numpad enter support (commands)
This commit is contained in:
parent
0dbbdce62e
commit
9b00e6e66e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ vmf:hook("ChatGui", "_update_input", function(func, self, input_service, menu_in
|
|||
local command_executed = false
|
||||
|
||||
-- if ENTER was pressed
|
||||
if Keyboard.pressed(Keyboard.button_index("enter")) then
|
||||
if Keyboard.pressed(Keyboard.button_index("enter")) or Keyboard.pressed(Keyboard.button_index("numpad enter")) then
|
||||
|
||||
-- chat history
|
||||
if _chat_history_enabled
|
||||
|
|
Loading…
Add table
Reference in a new issue