src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts/XtermTerminal/getBufferReverseIterator
class XtermTerminal:	*getBufferReverseIterator(): IterableIterator<string> {
		for (let i = this.raw.buffer.active.length; i >= 0; i--) {
			const { lineData, lineIndex } = getFullBufferLineAsString(i, this.raw.buffer.active);
			if (lineData) {
				i = lineIndex;
				yield lineData;
			}
		}
	}