[BRLTTY] Preserving presentation when copying to the clipboard

Sébastien Hinderer Sebastien.Hinderer at ens-lyon.org
Sun Mar 30 19:40:07 UTC 2025


Hello,

Aura Kelloniemi (2025/03/30 21:07 +0300):
> Hi,
> 
> On 2025-03-30 at 15:33 +0200, Sébastien Hinderer <Sebastien.Hinderer at ens-lyon.org> wrote:
>  > One solution may be to add a boolean preference to control whether the
>  > linear copy keeps the end-of-line characters or not.
> 
> That would be good in my opinion. It addresses a different scenario than a
> rectangular copy.
> 
> Even better would be to have a PASTE command which supports transforming
> newlines to spaces. This way linear copy would always preserve newlines, but
> the user could have them transformed to spaces by paste action.

It did happen to me that I wish I had spaces inserted in the clipboard.
Sometimes I manage to get them inserted by selecting one at the
beginning of a line which is not trimed by BRLTTY.

> There are two things which I am hoping for:
> 
> 1) That CLIP_ADD would not separate the previous content of the clipboard with
> a newline. I don't want any separator character at all.

I thought it's what is currently happening? That's exactly what I felt I
needed, that it does separate.

> 2) Bracketd paste. I don't know if this is feasible or not. At least Linux
> terminal does not support it, but tmux and many applications nowadays
> do.

I do not knowthis feature, would you mind elaborating, please?

Seb.


More information about the BRLTTY mailing list