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

docs: check multiplexer compat with OSC10/11 #34

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,43 @@ do. For instance, APC sequences are not supported yet. If you notice one
of such missing sequences, or want to work on any other area of the project,
feel free to open a PR. 💘

## FAQ

<details>
<summary>
Why isn't sequin using my terminal's background color? (with multiplexer)
</summary>
related: <a href="https://github.com/charmbracelet/sequin/issues/28" target="_blank">https://github.com/charmbracelet/sequin/issues/28</a>
<h2>Check your multiplexer's version:</h2>
<h3>Tmux</h3>
<p>This could be a few things depending on your environment. First thing to
consider: are you using a terminal multiplexer (e.g. tmux)? If so, check your
tmux version is 3.4 or higher. (Tmux added support for OSC10/11 queries in 3.4 see
<a href="https://github.com/tmux/tmux/blob/master/CHANGES#L152" target="_blank">https://github.com/tmux/tmux/blob/master/CHANGES#L152)</a>
`tmux -V`</p>

<h3>GNU Screen</h3>
<p>If you're a GNU screen user, check that your version is 4.99.0 or higher to
ensure OSC10/11 can be used. Not sure which version of screen you're using?
<code>screen --version</code></p>

<h2>Make sure your multiplexer config has your default terminal and COLORTERM set.</h2>
<h3>`tmux.conf`</h3>
```bash
set -g default-terminal "xterm-ghostty"
setenv -g COLORTERM "truecolor"
```

<h3>`~/.screenrc`</h3>
```bash
term xterm-256color
setenv COLORTERM truecolor
defbce on
```
<p>if you don't set `defbce on`, you will get a different background color on cells
cleared with an erase/insert/scroll/clear operation in the regular background
color.</p>

## Contributing

We love contributions. We recommend checking out [our contribution
Expand Down
Loading