It might well be related to https://github.com/neovim/neovim/issues/17070.
I have the following in my init.lua, and it works with tmux 3.2a: if vim.env.TMUX then vim.loop.fs_write(2, "\27Ptmux;\27\27]11;?\7\27\\", -1, nil) end This assumes that your colorscheme doesn't set the background color for you. On 2023-11-27 11:11, Robin wrote:
Hello there, I'm using tmux with nvim, whenver I launch nvim inside tmux the background color changes to black. I've set-up alacritty and nvim with nightly colorsheme, when openeing nvim normally with tmux sessions the nightly colorsheme works ok. Thanks for help in advance 🙂 -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/ef617bdf-9fc3-4466-8805-48ba9dde5c9d%40gmail.com.
-- christophe lalanne 152E3E3F7C4CCE44 https://aliquote.org -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/20231127092016.svwqtxe5oyhmsuxh%40aliquote.