Terminal data flow debug capture improved
This modification moves the debug characters capture call directly into the _NextParseChar(). That allows to capture all data flow without missing things like OSC control sequences.
This commit is contained in:
parent
0ac0b4d4a6
commit
13d0439623
@ -69,6 +69,10 @@ TermParse::_NextParseChar()
|
||||
throw error;
|
||||
}
|
||||
|
||||
#ifdef USE_DEBUG_SNAPSHOTS
|
||||
fBuffer->CaptureChar(fParserBuffer[fParserBufferOffset]);
|
||||
#endif
|
||||
|
||||
return fParserBuffer[fParserBufferOffset++];
|
||||
}
|
||||
|
||||
@ -410,10 +414,6 @@ TermParse::EscParse()
|
||||
|
||||
//debug_printf("TermParse: char: '%c' (%d), parse state: %d\n", c, c, parsestate[c]);
|
||||
|
||||
#ifdef USE_DEBUG_SNAPSHOTS
|
||||
fBuffer->CaptureChar(c);
|
||||
#endif
|
||||
|
||||
switch (parsestate[c]) {
|
||||
case CASE_PRINT:
|
||||
fBuffer->InsertChar((char)c);
|
||||
|
Loading…
Reference in New Issue
Block a user