Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Control key not working on embedded terminal (mac os)

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

like image 940
portenez Avatar asked Sep 07 '16 14:09

portenez


People also ask

How do I use Home and End key in Mac Terminal?

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.

How do I open hotkeys Terminal on Mac?

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.

How do you select a line in Mac Terminal?

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.


1 Answers

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.

like image 58
portenez Avatar answered Nov 07 '22 10:11

portenez