Re: [dev] [PATCH] [st] Use inverted defaultbg/fg for selection when bg/fg are the same

From: FRIGN <dev_AT_frign.de>
Date: Mon, 27 Oct 2014 13:20:39 +0100

On Sun, 26 Oct 2014 23:01:24 -0300
dequis <dx_AT_dxzone.com.ar> wrote:

> The background/foreground of selected text is currently set by setting
> ATTR_REVERSE, which flips its normal bg/fg. When the text being
> selected has the same bg and fg, it won't be readable after selecting
> it, either.
>
> This may sound silly - my main use case is IRC channels using color
> codes for black-on-black to mark 'spoilers'.
>
> This patch allows that text to be read by selecting it, turning it
> into text with white bg and black fg (given default values for
> defaultbg/fg), just like most normal unformatted text when selected.

I disagree with the proposal.

There's simply no reason to break consistency for some quirky irc-gag.
If you want to read the spoilers, select them and paste them somewhere
else. Done.

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Mon Oct 27 2014 - 13:20:39 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 27 2014 - 13:24:13 CET