Hi,
Thank you for developing foot.
This PR adds ANSI as an option for pipe and copy selection.
Personally, I don't think that "copying" should have ANSI stuff but it had been discussed and since the code changes where rather small I add it.
The real use case is to pipe the view/command_output into a pager and still have access to styles and more importantly hyperlinks. (as an example ov supports some and also has keybinding to disable them.)
I don't excel in coding, so it's frightening and needs refactoring.
also these should be added to config fiel
ansi-pipe=true
toggle-ansi-selection=key+bindings
Thanks
Hi,
Thank you for developing foot.
This PR adds ANSI as an option for pipe and copy selection.
Personally, I don't think that "copying" should have ANSI stuff but it had been [discussed](https://codeberg.org/dnkl/foot/issues/2004) and since the code changes where rather small I add it.
The real use case is to pipe the view/command_output into a pager and still have access to styles and more importantly hyperlinks. (as an example [ov](http://github.com/noborus/ov) supports some and also has keybinding to disable them.)
I don't excel in coding, so it's frightening and needs refactoring.
also these should be added to config fiel
`ansi-pipe=true`
`toggle-ansi-selection=key+bindings`
Thanks