Stream: process-compose-flake

Topic: Unable to select text in the tui


view this post on Zulip tgunnoe (Dec 07 2023 at 18:04):

Is this something within this implementation, or something upstream? Even after going into select mode using Ctrl+S, you can highlight the text but no normal copy operations will save to the clipboard. in any other tui, I can copy things to the clipboard

view this post on Zulip Srid (Dec 07 2023 at 18:08):

It has to be an upstream issue. We just shell out to process-compose command, passing it the arguments passed by the user:

srid on appreciate process-compose-flake/example on  main via ❄️  impure (nix-shell-env) cat $(nix build --print-out-paths)/bin/*
#!/nix/store/rz0xwswp80pjyn8sf2vz3xlv67sfiyns-bash-5.2-p15/bin/bash
set -o errexit
set -o nounset
set -o pipefail

export PATH="/nix/store/srqqppq5zbn41dlpb87si0rw947d00w2-process-compose-0.60.0/bin:$PATH"

export PC_CONFIG_FILES=/nix/store/8j1rnipbcmcyqg6md3mdizx6i4qwagdl-default.yaml

exec process-compose -p 0 "$@"

view this post on Zulip Srid (Dec 07 2023 at 18:10):

Note again, you can use the log_location option to have it write the process output to a log file, which should be straightforward to copy.

https://github.com/nammayatri/nammayatri/blob/7203bc29d5c2bf30e1e96582af2d3604915a5a97/Backend/nix/run-mobility-stack.nix#L13

view this post on Zulip tgunnoe (Dec 07 2023 at 18:10):

yes, I am using that. thanks


Last updated: Nov 21 2024 at 08:50 UTC