Update src/common/buffer/BufferReflow.ts

This commit is contained in:
Daniel Imms
2024-12-12 06:25:31 -08:00
committed by GitHub
parent ae2622e5ce
commit d7364faeee
+1 -1
View File
@@ -22,7 +22,7 @@ export interface INewLayoutResult {
* @param nullCell The cell data to use when filling in empty cells.
* @param reflowCursorLine Whether to reflow the line containing the cursor.
*/
export function reflowLargerGetLinesToRemove(lines: CircularList<IBufferLine>, oldCols: number, newCols: number, bufferAbsoluteY: number, nullCell: ICellData,reflowCursorLine: boolean): number[] {
export function reflowLargerGetLinesToRemove(lines: CircularList<IBufferLine>, oldCols: number, newCols: number, bufferAbsoluteY: number, nullCell: ICellData, reflowCursorLine: boolean): number[] {
// Gather all BufferLines that need to be removed from the Buffer here so that they can be
// batched up and only committed once
const toRemove: number[] = [];