raphamorim / raphamorim/rio

Unable to Render properly if Tmux Background Color is Set

Open
#592 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7.5k
Forks
353
Avg merge
2d 11h
Merged PRs (30d)
15

Description

Environment:

  • Apple M3
  • OS: Sonoma 14.6.1
  • Rio: Version 0.1.6 (20230528.115631)
  • Tmux: 3.4

I have followed the instructions here. However, my tmux is still unable to render properly.

I narrowed down to the below two lines. If either of them is in .tmux.conf, it won't render properly. I have to remove both of them to make it work.

# active pane normal, other shaded out
set-window-option -g window-style bg=colour237
set-window-option -g window-active-style bg=black

This config works fine with other terminals like Kitty, Alacritty and others though. Is this a bug or something I missed in the config?

Rio
SCR-20240813-tuad

Alacritty
SCR-20240813-tttq

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on macOS Sonoma with Rio 0.1.6, tmux 3.4, and the two stated window-style settings in .tmux.conf. Compare Rio's output with Kitty and Alacritty; done means the active and inactive pane background colors render correctly without removing either setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.