Middle-click copy and pasting does not work when screen is cleared
- iTerm2 version: 3.0.14
- OS version: 10.12.3
- Preferences, Pointer,
Middle button single clickis set to
Paste from Selection
This bug report is about the middle click feature that lets you copy text, using the
Paste from Selection feature. For instance, in macOS' Terminal application, as well as in iTerm, you can select text in the terminal window with your mouse, and then paste it using middle click. This is a very handy feature, particular useful to users who are used to Linux like me.
However, it seems that iTerm forgets the contents of the text selection if the screen is cleared:
- Run a command in a pager, like
echo Hello world | less
- Select with your mouse the text
- Press the middle-mouse button.
What happened: Nothing
What should have happened: The text
Hello world should have been pasted. This would match macOS Terminal's behaviour.