JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix selecting clearing and BCE
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 23 Apr 2013 18:34:52 +0000 (20:34 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 23 Apr 2013 18:36:30 +0000 (20:36 +0200)
commit048c54fd5b275ac54d7819020485b77e99fcc469
treecd6b6c5c21b1bef6ccbf56fe7cdd55b33683fc8c
parent6b03bb769a105f797bce40aa0258cf035266e7bf
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>
st.c