Class AnsiBufferedInputStream
java.lang.Object
java.io.InputStream
ghidra.pty.windows.AnsiBufferedInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptionprotected voidappendChar(byte c) protected voidbakeLine()voidclose()protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidexecPrivateSequence(boolean enable) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected intguessEnd()There's not really a good way to know if any trailing space was intentional.protected intprotected int[]protected voidprintDebugChar(byte c) protected voidprocessChars(byte c) protected voidprocessCsi(byte c) protected voidprocessCsiParamOrCommand(byte c) protected voidprocessCsiQ(byte c) protected voidprocessEsc(byte c) protected intprotected voidprocessOsc(byte c) protected voidprocessWindowTitle(byte c) protected voidprocessWindowTitleEsc(byte c) intread()intread(byte[] b, int off, int len) protected StringreadAndClear(ByteBuffer buf) protected Stringprotected intprotected voidsetPosition(int newPosition) Methods inherited from class InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
PRIV_12 NEW
- See Also:
-
PRIV_25 NEW
- See Also:
-
PRIV_1004 NEW
- See Also:
-
PRIV_2004 NEW
- See Also:
-
PRIV_9001 NEW
- See Also:
-
-
Constructor Details
-
AnsiBufferedInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
readUntilBaked
- Throws:
IOException
-
printDebugChar
protected void printDebugChar(byte c) -
processNext
- Throws:
IOException
-
guessEnd
protected int guessEnd()There's not really a good way to know if any trailing space was intentional. For GDB/MI, that doesn't really matter. -
bakeLine
protected void bakeLine() -
appendChar
protected void appendChar(byte c) -
processChars
protected void processChars(byte c) -
processEsc
protected void processEsc(byte c) -
processCsi
protected void processCsi(byte c) -
processCsiParamOrCommand
protected void processCsiParamOrCommand(byte c) -
processCsiQ
protected void processCsiQ(byte c) -
processOsc
protected void processOsc(byte c) -
processWindowTitle
protected void processWindowTitle(byte c) -
processWindowTitleEsc
protected void processWindowTitleEsc(byte c) -
readAndClear
-
readAndClearEscBuf
-
parseNumericBuffer
protected int parseNumericBuffer() -
parseNumericListBuffer
protected int[] parseNumericListBuffer() -
execCursorUp
protected void execCursorUp() -
execCursorDown
protected void execCursorDown() -
setPosition
protected void setPosition(int newPosition) -
execCursorForward
protected void execCursorForward() -
execCursorBackward
protected void execCursorBackward() -
execCursorCharAbsolute
protected void execCursorCharAbsolute() -
execCursorPosition
protected void execCursorPosition() -
execTextCursorEnableBlinking
protected void execTextCursorEnableBlinking() -
execTextCursorDisableBlinking
protected void execTextCursorDisableBlinking() -
execTextCursorEnableModeShow
protected void execTextCursorEnableModeShow() -
execTextCursorDisableModeShow
protected void execTextCursorDisableModeShow() -
execEnableFocusReport NEW
protected void execEnableFocusReport() -
execDisableFocusReport NEW
protected void execDisableFocusReport() -
execEnableBracketedPasteMode NEW
protected void execEnableBracketedPasteMode() -
execDisableBracketedPasteMode NEW
protected void execDisableBracketedPasteMode() -
execEnableWin32InputMode NEW
protected void execEnableWin32InputMode() -
execDisableWin32InputMode NEW
protected void execDisableWin32InputMode() -
execEraseInDisplay
protected void execEraseInDisplay() -
execEraseInLine
protected void execEraseInLine() -
execEraseCharacter
protected void execEraseCharacter() -
execSetGraphicsRendition
protected void execSetGraphicsRendition() -
execSetWindowTitle
protected void execSetWindowTitle() -
execPrivateSequence
protected void execPrivateSequence(boolean enable)
-