will also match ATR_UNDERLINE. I think you better drop ATTR_UNDERLINE from ATTR_HIGHLIGHT, and define and use e.g. ATTR_UNDERLINE_HIGHLIGHT when setting the mode, or just use ATTR_UNDERLINE directly.
Apart from that: thank you for your work. I had combined keyboard-selection and scrollback, but your patch finally convinced me to use st as my default terminal emulator.
Thanks for the bugfix! :) I merged it, released it & added you as contributor at the suckless.org page, the application of the updates usually takes a few days.
The vimbrowse patch contains the following hunk for
st.h
:This causes all underlined text to be white on a red background. However, if I just use:
then I don't have this issue.
I suspect you wanted to toggle underline for highlighted text, or always enable/disable underline for it, however:
will also match
ATR_UNDERLINE
. I think you better dropATTR_UNDERLINE
fromATTR_HIGHLIGHT
, and define and use e.g.ATTR_UNDERLINE_HIGHLIGHT
when setting the mode, or just useATTR_UNDERLINE
directly.Apart from that: thank you for your work. I had combined keyboard-selection and scrollback, but your patch finally convinced me to use st as my default terminal emulator.