Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update instructions for using OSC52 with tmux (#3597)
- **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](#3595). We compare `$TERM` to `^(screen|tmux)` because both of them are valid as [per the manual](https://man7.org/linux/man-pages/man1/tmux.1.html): ``` 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** * [x] Cheatsheets are up-to-date (run `go generate ./...`) -- not relevant * [x] Code has been formatted (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#code-formatting)) -- not relevant * [x] Tests have been added/updated (see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/integration/README.md) for the integration test guide) -- not relevant * [x] Text is internationalised (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#internationalisation)) -- not relevant * [x] Docs have been updated if necessary * [x] You've read through your own file changes for silly mistakes etc <!-- Be sure to name your PR with an imperative e.g. 'Add worktrees view' see https://github.com/jesseduffield/lazygit/releases/tag/v0.40.0 for examples -->
- Loading branch information