rio icon indicating copy to clipboard operation
rio copied to clipboard

Undercurl does not work inside Tmux and Neovim

Open FahimAnayet opened this issue 1 year ago • 1 comments

Undercurl does work in bare terminal, however it doesn't work inside tmux and neovim.

Tmux config (I've tried commented lines too) Screen Shot 2024-09-19 at 10 41 50 AM

Bare rio Screen Shot 2024-09-19 at 10 33 25 AM

Tmux Screen Shot 2024-09-19 at 10 33 13 AM

Tmux+Neovim (same in outside tmux+neovim) Screen Shot 2024-09-19 at 10 32 46 AM

FahimAnayet avatar Sep 19 '24 08:09 FahimAnayet

Thank you for the issue! I will try to reproduce it 👍

raphamorim avatar Sep 19 '24 19:09 raphamorim

With these settings undercurl works perfectly now. I'm closing the issue as it is complete 😄

tmux

set -g default-terminal xterm-256color
set-option -ga terminal-overrides ",xterm*:Tc"

neovim

vim.cmd([[hi! DiagnosticUnderlineHint gui=undercurl, cterm=undercurl]])
vim.cmd([[hi! DiagnosticUnderlineInfo gui=undercurl, cterm=undercurl]])
vim.cmd([[hi! DiagnosticUnderlineError gui=undercurl, cterm=undercurl, guisp=red]])
vim.cmd([[hi! DiagnosticUnderlineWarn gui=undercurl, cterm=undercurl, guisp=orange]])

FahimAnayet avatar Nov 15 '24 09:11 FahimAnayet

Wow great finding @FahimAnayet Thank you for investigating and sharing

raphamorim avatar Nov 15 '24 10:11 raphamorim