tmux 是否支持 VIM 中使用的 cterm=undercurl?

Is tmux supports cterm=undercurl used in VIM?

在我的 vim 配置中,我为拼写错误的单词添加了 undercurl

hi SpellBad guifg=NONE cterm=undercurl

在 tmux 外部它工作正常,但在它内部我继续看到它设置为 underline 而不是 undercurl

澄清一下,即使在 vim 中我也看不到卷曲线,直到我添加到我的 .vimrc 中:

let &t_Cs = "\e[4:3m"
let &t_Ce = "\e[4:0m"

我做了很长时间的研究,tmux 这样的行为正常吗?在我看来完全不支持

软件配置Ubuntu 18.04.3 LTS, Tmux 3.0a, Vim 8.0.1453

如果您的 tmux 足够新以支持此功能,那么您需要添加 Smul 功能,请参阅 https://man.openbsd.org/tmux#TERMINFO_EXTENSIONS:

set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'

如果您想要彩色下划线,您还需要添加 Smulc。