idk im having this issue for a long time. itd be nice to have this fixed.

thanks

Edit: I that doesnt help:

  • term=xterm-... in shell config
  • set-option -ga terminal-overrides ",xterm-256color:Tc" in tmux config

solution:

thanks to mazadin for the solution.

im using foo terminal, so setting set-option -ga terminal-overrides ",foot:Tc" in tmux.config fixed it. (yeah im dumb)

  • sorrybookbroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Yeah thought you may have done so, still good to check. Hope the best for you but I can’t think of anything else myself, unless you have a background set in tmux and a transparent background in neovim

    For others who may help, what terminal are you using? What is is the output of echo $TERM?

    • t0mriOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Foot. It says foot. When I’m in tmux it says tmux-256color

      • mazadin@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        Try this in tmux.conf:

        set-option -ga terminal-overrides ",foot:Tc"
        

        These overrides apply to the TERM you are using outside of tmux (where this is running).

        • t0mriOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 months ago

          man! its fixed. thanks!!

        • t0mriOP
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Im really sorry that I couldn’t reply soon. I’ll try it out

      • sorrybookbroke@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Yeah that’s the expected output. I’d see if alacritty or kitty works as expected to rule out foot being the issue, then manually setting term=xterm-256color in your foot.ini if it does work in either

        This must be incredibly frustrating