Screenshots |
Installation
Style
Install like any other patch. Go into the source directory of ST, and run the following command:
patch < ../st-undercurl-0.8.4-20210424.diff
Then build it:
make
For installation, you either use Make (recommended):
make install
And you're done!
Or any other method, but in this case, you HAVE to update the TermInfo
database of
your system, to let terminal programs (Like Vim and such) know that ST supports
special underlines. You do this with the following command:
tic -sx st.info
You can choose between three different curly underline styles:
To change the style, edit the config.def.h
file, it looks like this:
// Available styles
#define UNDERCURL_CURLY 0
#define UNDERCURL_SPIKY 1
#define UNDERCURL_CAPPED 2
// Active style
#define UNDERCURL_STYLE UNDERCURL_CAPPED
Just modify UNDERCURL_STYLE
to one of the three available styles.