Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting text with mouse doesn't work #45

Open
davidbrochart opened this issue Jun 3, 2016 · 5 comments
Open

Selecting text with mouse doesn't work #45

davidbrochart opened this issue Jun 3, 2016 · 5 comments

Comments

@davidbrochart
Copy link

In bash I cannot select some text with the mouse. There is no highlighting and I cannot copy/paste. But it works in vim for instance.

@tmr232
Copy link

tmr232 commented Jul 11, 2016

Same thing happens to me with zsh over putty. Can't select any text using the mouse.

@jonathanslenders
Copy link
Member

Hi @davidbrochart and @tmr232,

This is caused by pymux taking control of the mouse by default.
Typ the command (Ctrl-B :): set-option mouse off in order to turn mouse support off.

Otherwise, you could also hold down shift or control while selecting text. (Depending on the terminal.)

Actually, it's exactly the same as tmux, but mouse support has been enabled by default.

@davidbrochart
Copy link
Author

Thanks, I should have read the docs ;-)

@bishop-exe
Copy link

bishop-exe commented Feb 27, 2019

Are there any ways to make is so that you can copy text from one pane to another without selecting text from another?

|----------------|----------|
|                |      1   |
|       0        |__________|
|                |        2 |
|________________|__________|

For example, if wanted to select output from a multi line output from 1 and paste it in 2 it would also select text from 0. Any ideas? This would help me out a ton for a project im working on.

@espoelstra
Copy link

If you switch into copy-mode in the pane where you want to copy (use Ctrl+B [) then you can use the mouse or arrow keys to highlight the text you want and use Enter to copy/yank it to the clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants