Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions for using OSC52 with tmux #3597

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EliasA5
Copy link

@EliasA5 EliasA5 commented May 24, 2024

  • PR Description
    Update the instructions on using copyToClipboardCmd config to copy using OSC52 with tmux

Added -w 0 flag to base64 command because it wraps lines that are longer than 76 by default, that fails to copy on some terminal emulators.

We compare $TERM to ^(screen|tmux) because both of them are valid as per the manual:

default-terminal terminal
               Set the default terminal for new windows created in this
               session - the default value of the TERM environment
               variable.  For to work correctly, this must be set to
               ‘screen’, ‘tmux’ or a derivative of them.
  • Please check if the PR fulfills these requirements
  • Cheatsheets are up-to-date (run go generate ./...) -- not relevant
  • Code has been formatted (see here) -- not relevant
  • Tests have been added/updated (see here for the integration test guide) -- not relevant
  • Text is internationalised (see here) -- not relevant
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

Signed-off-by: Elias Assaf <elyas51000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant