diff options
author | kobewi <kobewi4e@gmail.com> | 2021-05-03 19:28:59 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-05-03 19:28:59 +0200 |
commit | 76903d2c447ca5e8949056723026ab295b7a2558 (patch) | |
tree | a457d7f1c2bd1b5b441c47c80767a370214d26bd /core/input | |
parent | eb57dcdb909dd45eaff6e25858a1907e13df4f59 (diff) |
Add Enter as alternate key to complete code
Diffstat (limited to 'core/input')
-rw-r--r-- | core/input/input_map.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input/input_map.cpp b/core/input/input_map.cpp index aab4e6593c..7421909650 100644 --- a/core/input/input_map.cpp +++ b/core/input/input_map.cpp @@ -474,6 +474,7 @@ const OrderedHashMap<String, List<Ref<InputEvent>>> &InputMap::get_builtins() { inputs = List<Ref<InputEvent>>(); inputs.push_back(InputEventKey::create_reference(KEY_TAB)); + inputs.push_back(InputEventKey::create_reference(KEY_ENTER)); default_builtin_cache.insert("ui_text_completion_accept", inputs); // Newlines |