index.md (1061B)
1 spoiler 2 ======= 3 4 Description 5 ----------- 6 Use inverted defaultbg/fg for selection when bg/fg are the same 7 8 The background/foreground of selected text is currently set by setting 9 ATTR\_REVERSE, which flips its normal bg/fg. When the text being selected has 10 the same bg and fg, it won't be readable after selecting it, either. 11 12 The main use case is black-on-black text used to mark 'spoilers'. 13 14 This patch allows that text to be read by selecting it, turning it into text 15 with white bg and black fg (given default values for defaultbg/fg), just like 16 most normal unformatted text when selected. 17 18 Download 19 -------- 20 * [st-spoiler-0.6.diff](st-spoiler-0.6.diff) 21 * [st-spoiler-0.7.diff](st-spoiler-0.7.diff) 22 * [st-spoiler-20160727-308bfbf.diff](st-spoiler-20160727-308bfbf.diff) 23 * [st-spoiler-20170802-e2ee5ee.diff](st-spoiler-20170802-e2ee5ee.diff) 24 * [st-spoiler-20180309-c5ba9c0.diff](st-spoiler-20180309-c5ba9c0.diff) 25 26 Author 27 ------ 28 * dequis - <dx@dxzone.com.ar> 29 * Laslo Hunhold - <dev@frign.de> (git port) 30 * Matthew Parnell - <matt@parnmatt.co.uk> (0.7, git ports)