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
+1 -2
View File
@@ -32,7 +32,6 @@ namespace Terminal {
Framebuffer fb;
Dispatcher dispatch;
UserInput user;
Display display;
/* action methods */
void print( Parser::Print *act );
@@ -50,7 +49,7 @@ namespace Terminal {
std::string open( void ); /* put user cursor keys in application mode */
std::string close( void ); /* restore user cursor keys */
std::string new_frame( void ) { return display.new_frame( fb ); }
const Framebuffer & get_fb( void ) { return fb; }
};
}