Overlays were getting set to the wrong colors. Fix.

This commit is contained in:
John Hood
2017-11-06 09:30:57 -05:00
parent ab31b0f271
commit ce7ba37ad4
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -76,8 +76,8 @@ namespace Terminal {
return (color & true_color_mask) != 0;
}
unsigned int get_foreground_color() const { return foreground_color; }
unsigned int get_background_color() const { return background_color; }
// unsigned int get_foreground_rendition() const { return foreground_color; }
unsigned int get_background_rendition() const { return background_color; }
bool operator==( const Renditions &x ) const
{
@@ -335,7 +335,7 @@ namespace Terminal {
void add_rendition( color_type x ) { renditions.set_rendition( x ); }
const Renditions& get_renditions( void ) const { return renditions; }
Renditions& get_renditions( void ) { return renditions; }
int get_background_rendition( void ) const { return renditions.get_background_color(); }
int get_background_rendition( void ) const { return renditions.get_background_rendition(); }
void save_cursor( void );
void restore_cursor( void );