mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-25 21:51:47 +00:00
Merge remote-tracking branch 'origin/GP-4392_Dan_gdbConPtyAnsiParsing'
into patch (Closes #6107)
This commit is contained in:
commit
50df70ba0f
@ -270,6 +270,14 @@ public class AnsiBufferedInputStream extends InputStream {
|
||||
execSetGraphicsRendition();
|
||||
mode = Mode.CHARS;
|
||||
break;
|
||||
case 'h':
|
||||
execPrivateSequence(true);
|
||||
mode = Mode.CHARS;
|
||||
break;
|
||||
case 'l':
|
||||
execPrivateSequence(false);
|
||||
mode = Mode.CHARS;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -473,4 +481,9 @@ public class AnsiBufferedInputStream extends InputStream {
|
||||
// TODO: Maybe a callback. Otherwise, don't care
|
||||
titleBuf.clear();
|
||||
}
|
||||
|
||||
protected void execPrivateSequence(boolean enable) {
|
||||
// These don't matter for input buffering.
|
||||
escBuf.clear();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user