vis: make selections visible when lua support has been disabled
commit69453a73fce015b9dd9deb6a9f6ab9aad104619b
authorMarc André Tanner <mat@brain-dump.org>
Sat, 9 Dec 2017 11:01:03 +0000 (9 12:01 +0100)
committerMarc André Tanner <mat@brain-dump.org>
Sat, 9 Dec 2017 11:23:07 +0000 (9 12:23 +0100)
tree7a6e6cc2ab130c0a5b5ac4a3486de7a5e59ffabb
parent8e27737bd4e9ff1c275a0cb439bfe2280ffa3f62
vis: make selections visible when lua support has been disabled

When the fore and background colors are the same, swapping them has
no effect. Instead use the specified cell attributes.  Previously the
CELL_ATTR_REVERSE used in the default selection style was ignored.

In general the default style definitions for non-Lua builds could
probably be improved further.

Fix #635
vis.c