}
} else if (b == SimUtils.LF) {
more = false;
} else {
if (lineBufferIdx == maxLine - 2) {
throw new LineTooLargeException("exceed max line " + maxLine);
}
if (lineBufferIdx == lineBuffer.length) {
lineBuffer = Arrays.copyOf(lineBuffer, lineBuffer.length * 2);
}
lineBuffer[lineBufferIdx] = b;