I probably changed some setting by mistake, how do I get the control key to work again??
Given I open a terminal in IntelliJ (2016.2.3)
And I run a command that takes some time to run
When I press control + c
Then I should see the command being aborted
Instead I see the letter c is typed instead.
Basically the control
key is not working at all in the embedded terminal.
The same scenario works on webstorm and iterm. So it's definitely IntelliJ
First open Terminal, then select Terminal, Preferences, Settings. For the Home and End keys set 'send string to shell', and in the text box enter Control-A for Home and Control-E for End.
Here's how: Press Command + Space Bar on your Mac keyboard (alternatively, press F4) Type in “Terminal” When you see Terminal in the Spotlight search list, click it to open the app.
Press ⇧ Cmd C. Press v to select and the entire line. Press Ctrl k or y to copy the selection. Press Esc to leave copy mode.
Short answer: Revert to previous version
IntelliJ IDEA 2016.2.3 seems to have a bug that prevents the control key to be sent to the terminal. I reverted to the previous version and it fixed it for me.
This is not the best answer, but it's the only way I could find to fix it. Thanks @charles-o for pointing out that he started seeing this problem after updating.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With