Enable color theme reporting again on tmux >= 3.7

Color theme reporting has race conditions, so we might want to disable
it until we have fixed those. Not sure.

At least the tmux-specific issue hsa been fixed,
so treat new tmux like other terminals.
See https://github.com/tmux/tmux/issues/4787#issuecomment-3716135010

See #12261
This commit is contained in:
Johannes Altmanninger
2026-01-07 06:50:27 +01:00
parent f924a880c8
commit 99109278a6
2 changed files with 33 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
#RUN: %fish %s
#REQUIRES: command -v tmux
isolated-tmux-start \; \
set-option -gw window-active-style 'bg=#f0f0f0' \; \
send-keys ' cat -v' Enter
tmux-sleep
isolated-tmux capture-pane -p
# CHECK: cat -v
# CHECK: prompt 0> cat -v