Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

According to this answer over at SuperUser, OS X's terminal app should use Alt+Mouse Click to send mouse events to applications running in the terminal. I tried that with the Midnight Commander, but it does not work. I am running OS X Mavericks.

Is there any way to enable mouse support in the terminal app, short of switching to iterm2 or something like that?

share|improve this question
    
What do you mean by "short of switching"? I'd recommend you to switch to iTerm. There is a SIMBL plugin provided by this answer. So I'd say, the answer to your question is no(why would they code a plugin, if there is native mouse support ;)) –  napcae Dec 8 '13 at 10:56

3 Answers 3

up vote 18 down vote accepted

Indeed, OS X Terminal can receive mouse input through ⌥-clicking:

However, certain Terminal apps don't receive the passed mouse input.


You can install MouseTerm which will pass mouse events to the terminal.

  • Mouse button reporting.
  • Mouse scroll wheel reporting.
  • Simulated mouse wheel scrolling for programs like less (i.e. any fullscreen program that uses application cursor key mode).
  • Terminal profile integration (with preferences dialog).

It's a SIMBL plugin, so you'll need to install SIMBL to make it work. I recommend installing EasySIMBL instead though.

share|improve this answer
    
EasySIMBL plus MouseTerm works! Awesome. –  Arne Dec 8 '13 at 20:00
    
Suburb! When knowing these kind of tricks makes live so much easier. –  CousinCocaine Mar 10 at 12:39

At least in Terminal.app 2.6 enable "Allow Mouse Reporting" in menu "View" gives mouse support in Midnight Commander.

share|improve this answer
    
Allow Mouse Reporting does not enable Mouse Reporting, it allows programs to enable it using terminal commands. The purpose of this menu item is to temporarily disable MR so you can interact with the terminal view. To enable MR you must configure whatever program you want to use it, e.g., in ~/.vimrc, ~/.emacs, ~/.nanorc. You can also temporarily interact with the terminal view by pressing and holding the <kbd>Fn</kbd> modifier while clicking, selecting or scrolling with a mouse or trackpad. –  Chris Page Aug 6 at 5:23

iTerm 2 supports all mouse interactions out of the box.

share|improve this answer
    
Yes see the accepted answer (or test it on your machine) –  Matteo Mar 10 at 12:18
    
Only a very limited amount of mouse interactions are supported with Terminal.app. iTerm2.app handles them all. –  Simon Fredsted Mar 10 at 13:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.