equal
deleted
inserted
replaced
266 // Append newline first if not there yet |
266 // Append newline first if not there yet |
267 if (!bufferIsEmpty() && !bufferEndsWithNewLine()) { |
267 if (!bufferIsEmpty() && !bufferEndsWithNewLine()) { |
268 newLine(); |
268 newLine(); |
269 reducePrompt(-1); |
269 reducePrompt(-1); |
270 } |
270 } |
271 print(getCurrentPromptContent()); |
271 if (config.isPrintPromptOnInput()) { |
272 newLine(); |
272 print(getCurrentPromptContent()); |
|
273 newLine(); |
|
274 } |
273 if (promptRows > 1) { |
275 if (promptRows > 1) { |
274 reducePrompt(-1); |
276 reducePrompt(-1); |
275 } |
277 } |
276 String lineBuffer = getInput(); |
278 String lineBuffer = getInput(); |
277 lineBuffer = lineBuffer.trim(); |
279 lineBuffer = lineBuffer.trim(); |