Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Byobu select with the mouse within the same split screen only

Tags:

linux

tmux

byobu

In Byobu, with split screen, how is it possible to click with my mouse and select multiple lines within the same split screen only and not the whole terminal line? If I try to select text with my mouse, it is selecting the whole terminal line that includes more than one split screens.

like image 867
kgroutsis Avatar asked Jan 28 '23 04:01

kgroutsis


2 Answers

The following worked for me

  • Shift+F11 Will give the pane its own window
  • Highlight and copy the text you want
  • Shift+F11 Will move the pane back to its original place in the split
like image 176
Michael Hall Avatar answered Jan 31 '23 18:01

Michael Hall


  1. Enable mode-mouse using Alt-F12.
    You'll see the status in the bottom left corner. You may need to press it multiple times.

  2. Select the text you'd like to copy.
    It will automatically be copied.

  3. Use Alt-Insert to paste in any split or window.

Do note that this only works within the same byobu instance. If you'd like to paste outside the byobu instance:

  1. Press Alt-F11 inside the split you'd like to copy from, to move it into its own window.
  2. Make sure mode-mouse is OFF.
  3. Use your regular method of copying and pasting from a terminal window.
like image 25
Thermostat Avatar answered Jan 31 '23 18:01

Thermostat