Move parser outside of terminal emulator -- prepare for keyboard input

This commit is contained in:
Keith Winstein
2011-02-03 01:59:55 -05:00
parent 7989265fa0
commit 9bca84b3c6
7 changed files with 48 additions and 61 deletions
+2 -2
View File
@@ -159,8 +159,8 @@ int vt_parser( int fd, Parser::UTF8Parser *parser )
/* feed to parser */
for ( int i = 0; i < bytes_read; i++ ) {
std::vector<Parser::Action *> actions = parser->input( buf[ i ] );
for ( std::vector<Parser::Action *>::iterator j = actions.begin();
std::list<Parser::Action *> actions = parser->input( buf[ i ] );
for ( std::list<Parser::Action *>::iterator j = actions.begin();
j != actions.end();
j++ ) {