From: Roberto E. Vargas Caballero Date: Tue, 23 Apr 2013 18:34:52 +0000 (+0200) Subject: Fix selecting clearing and BCE X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/048c54fd5b275ac54d7819020485b77e99fcc469?hp=048c54fd5b275ac54d7819020485b77e99fcc469 Fix selecting clearing and BCE The commit b78c5085f72 changed the st behaviour enabling BCE capability, that means erase regions using background color. Problem comes when you clear a region with a selection, because in this case the real mode of the Glyph is not the value of term.line[y][x], due in drawregion we had enabled the ATTR_REVERSE bit. Signed-off-by: Christoph Lohmann <20h@r-36.net> ---