diff --git a/src/legacy/core_plugins/console/public/src/output.js b/src/legacy/core_plugins/console/public/src/output.js index 16dbfc063c374..1c2781e13333e 100644 --- a/src/legacy/core_plugins/console/public/src/output.js +++ b/src/legacy/core_plugins/console/public/src/output.js @@ -58,8 +58,6 @@ export function initializeOutput($el) { const lastLine = session.getLength(); if (foldPrevious) { output.moveCursorTo(Math.max(0, lastLine - 1), 0); - session.toggleFold(false); - } session.insert({ row: lastLine, column: 0 }, '\n' + val); output.moveCursorTo(lastLine + 1, 0);