[konsole] [Bug 496534] Color of Underline/Undercurl cannot be set within vim when using Konsole

bug-control at kde.org bug-control at kde.org
Fri Nov 22 11:51:24 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=496534

--- Comment #5 from terrycchau at gmail.com <terrycchau at gmail.com> ---
(In reply to Matan Ziv-Av from comment #3)
> (In reply to terrycchau at gmail.com from comment #2)
> > Created attachment 176002 [details]
> > Output showing that Konsole is capable of undercurl colors
> 
> What if you add the color sequence to t_Cs?
> 
Setting let &t_Cs = "\e[4:3m\e[58:2::215:58:103m" would change the underline
color to red.

> Since colored underlines do work, my first guess would be that vim sends
> different escape sequences. Is $TERM the same in both cases?
> 
$TERM for both xfce-terminal and konsole is `xterm-256color`.

> Can you run vim using `script` to see what escape sequences are actually
> sent?

If by script you mean Ex mode, I could enter that by pressing `Q` in the normal
mode in vim, but I am not sure how to actually find the actual escape sequence.
 Let me know if you have suggestions for commands to run.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list