terminal_block ->copy: what=[{command,output,all}],
which=[{primary,clipboard}]Put the text of the block on the clipboard. It goes by terminal_block<-content
rather than by the region of the screen the block covers, so a copy of
the command is what was typed: without the return that
entered it, and without the continuation prompts the client drew down
the left of a command it collected over several lines. all
keeps them, being what the window shows. Lines are separated by a single
newline, as terminal_block<-content
separates them, and not by the \r\n of
terminal_image<-selected:
what is copied here is a command to be read back, not a region of the
screen. Does not disturb the selection; terminal_block->select
is for that.