Refactor display to be outside of terminal and add some const correctness

This commit is contained in:
Keith Winstein
2011-08-13 15:06:37 -04:00
parent 945acbca37
commit 023eb182d0
9 changed files with 123 additions and 106 deletions
+2 -2
View File
@@ -199,7 +199,7 @@ std::vector<int> DrawState::get_tabs( void )
void Framebuffer::apply_renditions_to_current_cell( void )
{
get_cell()->renditions = ds.get_renditions();
get_mutable_cell()->renditions = ds.get_renditions();
}
SavedCursor::SavedCursor()
@@ -373,7 +373,7 @@ void Renditions::set_rendition( int num )
}
}
std::string Renditions::sgr( void )
std::string Renditions::sgr( void ) const
{
std::string ret;