- May
- 13,450
- 193
If the user executes a command by pressing {Enter} while the command is selected in the command history window, a plugin keystroke handler doesn't see the {Enter}.
Similarly if the user uses {Up}/{Down} to get to a command in the command history and executes it with {Enter}, a plugin keyhandler doesn't see the {Enter}.
I imagine in the first case, the command history window's window process eats the keystroke. It's not so easy to guess what's happening in the second case.
In any event, that makes it difficult for a plugin keystroke handler to know when a user is executing a command from the command line.
Any suggestions?
Similarly if the user uses {Up}/{Down} to get to a command in the command history and executes it with {Enter}, a plugin keyhandler doesn't see the {Enter}.
I imagine in the first case, the command history window's window process eats the keystroke. It's not so easy to guess what's happening in the second case.
In any event, that makes it difficult for a plugin keystroke handler to know when a user is executing a command from the command line.
Any suggestions?