diff --git a/addons/addon-serialize/test/SerializeAddon.test.ts b/addons/addon-serialize/test/SerializeAddon.test.ts index fb42d807d..c8dba3039 100644 --- a/addons/addon-serialize/test/SerializeAddon.test.ts +++ b/addons/addon-serialize/test/SerializeAddon.test.ts @@ -192,7 +192,7 @@ test.describe('SerializeAddon', () => { const cols = 10; const line = '+'.repeat(cols); const lines: string[] = [ - sgr(FG_P16_GREEN) + line, // Workaround: If we clear all flags a the end, serialize will use \x1b[0m to clear instead of the sepcific disable sequence + sgr(FG_P16_GREEN) + line, // Workaround: If we clear all flags at the end, serialize will use \x1b[0m to clear instead of the specific disable sequence sgr(INVERSE) + line, sgr(BOLD) + line, sgr(UNDERLINED) + line, diff --git a/addons/addon-webgl/src/WebglRenderer.ts b/addons/addon-webgl/src/WebglRenderer.ts index d26c6d25e..2f38e03cb 100644 --- a/addons/addon-webgl/src/WebglRenderer.ts +++ b/addons/addon-webgl/src/WebglRenderer.ts @@ -664,7 +664,7 @@ export class WebglRenderer extends Disposable implements IRenderer { this.dimensions.device.canvas.height = this._terminal.rows * this.dimensions.device.cell.height; this.dimensions.device.canvas.width = this._terminal.cols * this.dimensions.device.cell.width; - // The the size of the canvas on the page. It's important that this rounds to nearest integer + // The size of the canvas on the page. It's important that this rounds to nearest integer // and not ceils as browsers often have floating point precision issues where // `window.devicePixelRatio` ends up being something like `1.100000023841858` for example, when // it's actually 1.1. Ceiling may cause blurriness as the backing canvas image is 1 pixel too diff --git a/src/common/Types.ts b/src/common/Types.ts index 971030944..fa4d8b52a 100644 --- a/src/common/Types.ts +++ b/src/common/Types.ts @@ -236,7 +236,7 @@ export interface ICoreMouseProtocol { * The tracking encoding can be registered and activated at the MouseStateService. * If a ICoreMouseEvent passes all protocol restrictions it will be encoded * with the active encoding and sent out. - * Note: Returning an empty string will supress sending a mouse report, + * Note: Returning an empty string will suppress sending a mouse report, * which can be used to skip creating falsey reports in limited encodings * (DEFAULT only supports up to 223 1-based as coord value). */ diff --git a/src/common/buffer/BufferReflow.ts b/src/common/buffer/BufferReflow.ts index 2c0fb74ba..24d4e0a4c 100644 --- a/src/common/buffer/BufferReflow.ts +++ b/src/common/buffer/BufferReflow.ts @@ -13,7 +13,7 @@ export interface INewLayoutResult { } /** - * Evaluates and returns indexes to be removed after a reflow larger occurs. Lines will be removed + * Evaluates and returns indexes to be removed after reflowLarger occurs. Lines will be removed * when a wrapped line unwraps. * @param lines The buffer lines. * @param oldCols The columns before resize @@ -109,7 +109,7 @@ export function reflowLargerGetLinesToRemove(lines: CircularList, o } /** - * Creates and return the new layout for lines given an array of indexes to be removed. + * Creates and returns the new layout for lines given an array of indexes to be removed. * @param lines The buffer lines. * @param toRemove The indexes to remove. */