Add Enter as alternate key to complete code
This commit is contained in:
parent
eb57dcdb90
commit
76903d2c44
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue