1

I am using a mouse enabled application in the terminal but now I want to copy some text. By this I mean, I want to select text in the terminal with the mouse and copy it with Command+C to copy it to a different program. However, selecting does not work because the application captures the mouse and does other things. So, e.g. dragging in vim will select text in vim but then Command+C does not work for copying.

On other systems this can often be fixed by holding shift. Is there a similar thing for Terminal.App?

10
  • 1
    It might help to know what the application is? Have you asked their support channels about this issue?
    – Tetsujin
    Commented Jun 17, 2022 at 10:36
  • It applies to all applications, e.g. vim and tmux.
    – Sarien
    Commented Jun 17, 2022 at 10:45
  • "I am using a mouse enabled application in the terminal" … which application?
    – Tetsujin
    Commented Jun 17, 2022 at 11:02
  • The ones I previously gave as an example: vim and tmux.
    – Sarien
    Commented Jun 17, 2022 at 12:34
  • 1
    Have to see if someone else has any ideas. I really don't know what you're asking. You're talking about some 'application' that enables the mouse in Terminal… but you're not explaining what it is. I'm not even sure what you mean by enabling the mouse. It's already enabled.
    – Tetsujin
    Commented Jun 17, 2022 at 12:44

1 Answer 1

2

I just found a hint in a different question that Command+R turns off mouse support. It's actually documented if you know what to look for.

So, Cmd+R, copy&paste, Cmd+R seems to work.

Sidenote: In iTerm2 it's Option+T.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .