Posterize to 8 colors when outer terminal does not support 256 colors
Fixes #58 github issue.
This commit is contained in:
@@ -158,6 +158,9 @@ void STMClient::output_new_frame( void )
|
||||
/* apply local overlays */
|
||||
overlays.apply( *new_state );
|
||||
|
||||
/* apply any mutations */
|
||||
display.downgrade( *new_state );
|
||||
|
||||
/* calculate minimal difference from where we are */
|
||||
const string diff( display.new_frame( !repaint_requested,
|
||||
*local_framebuffer,
|
||||
|
||||
Reference in New Issue
Block a user