this post was submitted on 28 Jun 2024
10 points (81.2% liked)

Neovim

2164 readers
3 users here now

founded 1 year ago
MODERATORS
10
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/neovim
 

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)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 months ago (2 children)

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

[–] [email protected] 3 points 4 months ago (2 children)

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).

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

man! its fixed. thanks!!

[–] [email protected] 1 points 4 months ago

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

[–] [email protected] 1 points 4 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