Handle user input through terminal

This commit is contained in:
Keith Winstein
2011-02-03 03:19:06 -05:00
parent 37c61f811b
commit bab4f23b44
8 changed files with 102 additions and 31 deletions
+3
View File
@@ -9,6 +9,7 @@
#include "parseraction.hpp"
#include "terminalframebuffer.hpp"
#include "terminaldispatcher.hpp"
#include "terminaluserinput.hpp"
namespace Terminal {
class Emulator {
@@ -22,10 +23,12 @@ namespace Terminal {
friend void Parser::OSC_Start::act_on_terminal( Emulator * );
friend void Parser::OSC_Put::act_on_terminal( Emulator * );
friend void Parser::OSC_End::act_on_terminal( Emulator * );
friend void Parser::UserByte::act_on_terminal( Emulator * );
private:
Framebuffer fb;
Dispatcher dispatch;
UserInput user;
/* action methods */
void print( Parser::Print *act );