Fix bug in state diagram, and handle VT. Now passes screens 1 and 2 of vttest

This commit is contained in:
Keith Winstein
2011-01-31 22:51:41 -05:00
parent f291165816
commit ebe95dd2ae
3 changed files with 14 additions and 2 deletions
+4
View File
@@ -166,6 +166,10 @@ Transition CSI_Entry::input_state_rule( wchar_t ch )
Transition CSI_Param::input_state_rule( wchar_t ch )
{
if ( C0_prime( ch ) ) {
return Transition( new Execute );
}
if ( ( (0x30 <= ch) && (ch <= 0x39) ) || ( ch == 0x3B ) ) {
return Transition( new Param );
}