diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-02-27 11:38:42 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-02-27 11:38:42 +0300 |
commit | f421c8fcf3c47c78c666906165006969ff21429e (patch) | |
tree | 38ffdfdb6e8e7dac00767494b62014a0ddb9e9a0 /.github/workflows/ci.yml | |
parent | 08a7f8fb56d0713db26540add4a78437c0c54f0e (diff) | |
download | sciteco-f421c8fcf3c47c78c666906165006969ff21429e.tar.gz |
implemented ncurses clipboard support via external processes
* As an alternative to OSC-52, which is rarely supported by terminal emulators.
* Makes the new mouse support much more useful since you rely on good builtin
clipboard support. You can no longer e.g. just double-click a word to copy it into
the "primary" selection as terminal emulators do by default.
* Set $SCITECO_CLIPBOARD_SET/GET e.g. to xclip, way-copy, pbcopy or some wrapper script.
* This is currently using POSIX-specific popen() API, so it behaves a bit different
to command execution via EC/EG.
I am not sure if it's worth rewriting with the GSpawn-API, since it will be used
only on POSIX anyway and a GSpawn-based implementation is likely to be a bit larger.
* Should there be some small command-line utility for interacting (esp. pasting) via OSC-52,
built-in OSC-52 support could well be removed from SciTECO.
Currently, I know only of https://github.com/theimpostor/osc/ and it requires
very recent Go compilers. (I still haven't tested it. Quite possibly, pasting when run as
a piped command is impossible.)
Diffstat (limited to '.github/workflows/ci.yml')
0 files changed, 0 insertions, 0 deletions