Or, that is the preferred method for me (given that the mouse can't find appropriately within a person pane when you have several panes side by facet and you might want to choose more than one line), using tmux, we are able to copy to the tmux buffer utilizing the conventional [ , House , shift to select , enter or you can choose a block of code.