I use the input function , in sublime REPL, after input one string, and use the Keypad_enter, the programm has no respond, just change the row, doesn’t execute.
use the Enter in big keyborad, is OK, can run normally.
Why ?/////// How to modify this?
I use the input function , in sublime REPL, after input one string, and use the Keypad_enter, the programm has no respond, just change the row, doesn’t execute.
use the Enter in big keyborad, is OK, can run normally.
Why ?/////// How to modify this?
The keypad enter key and the “main” enter key have distinct names; having them both respond to something requires a second key binding.
SublimeREPL only binds one of the keys and not the other; to get it to respond to the other one, you would need to duplicate the existing bindings and change enter to keypad_enter, like this:
{ "keys": ["keypad_enter"], "command": "repl_enter", "args": {},
"context":
[
{ "key": "setting.repl", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["keypad_enter"], "command": "repl_enter", "args": {},
"context":
[
{ "key": "setting.repl", "operator": "equal", "operand": true },
{ "key": "setting.auto_complete_commit_on_tab", "operand": true }
]
},