89 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | addons/addon-image/test/ImageAddon.test.ts | 120 | strictEqual(await ctx.page.evaluate('window.term._core.buffer.lines.get(0)._data instanceof Uint32Array'), true); |
| CRITICAL | addons/addon-image/test/ImageAddon.test.ts | 121 | strictEqual(await ctx.page.evaluate('window.term._core.buffer.lines.get(0)._extendedAttrs instanceof Object'), true) |
| CRITICAL | addons/addon-image/src/ImageStorage.ts | 278 | this._terminal._core._inputHandler._dirtyRowTracker.markDirty(buffer.y); |
| CRITICAL | addons/addon-image/src/ImageStorage.ts | 293 | this._terminal._core._inputHandler._dirtyRowTracker.markDirty(buffer.y); |
| CRITICAL | addons/addon-ligatures/src/fontLigatures/index.ts | 31 | const caltFeatures = this._font.tables.gsub && this._font.tables.gsub.features.filter((f: { tag: string }) => f.tag |
| CRITICAL | src/browser/CoreBrowserTerminal.ts | 1143 | const canvasWidth = this._renderService.dimensions.css.canvas.width.toFixed(0); |
| CRITICAL | src/browser/CoreBrowserTerminal.ts | 1144 | const canvasHeight = this._renderService.dimensions.css.canvas.height.toFixed(0); |
| CRITICAL | src/browser/CoreBrowserTerminal.ts | 1148 | const cellWidth = this._renderService.dimensions.css.cell.width.toFixed(0); |
| CRITICAL | src/browser/CoreBrowserTerminal.ts | 1149 | const cellHeight = this._renderService.dimensions.css.cell.height.toFixed(0); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | demo/client/client.ts | 442 | function updateTerminalContainerBackground(): void { |
| LOW | demo/client/components/window/testWindow.ts | 322 | function customGlyphAlignmentHandler(term: Terminal): void { |
| LOW | test/benchmark/DecorationService.benchmark.ts | 18 | function registerSingleLineDecorations(service: DecorationService, bufferService: MockBufferService, count: number): voi |
| LOW | test/playwright/SharedRendererTests.ts | 17 | export function injectSharedRendererTests(ctx: ISharedRendererTestContext): void { |
| LOW | test/playwright/SharedRendererTests.ts | 1444 | async function getCellDomBackgroundColor(ctx: ITestContext, col: number, row: number): Promise<[number, number, number, |
| LOW | test/playwright/SharedRendererTests.ts | 1449 | async function getCellDomForegroundColor(ctx: ITestContext, col: number, row: number): Promise<[number, number, number, |
| LOW | test/playwright/SharedRendererTests.ts | 1469 | export function injectSharedRendererTestsStandalone(ctx: ISharedRendererTestContext, setupCb: () => Promise<void> | void |
| LOW | addons/addon-webgl/src/GlyphRenderer.ts | 59 | function createFragmentShaderSource(maxFragmentShaderTextureUnits: number): string { |
| LOW | addons/addon-webgl/src/TextureAtlas.ts | 1152 | function checkCompletelyTransparent(imageData: ImageData): boolean { |
| LOW | addons/addon-webgl/src/DevicePixelObserver.ts | 8 | export function observeDevicePixelDimensions(element: HTMLElement, parentWindow: Window & typeof globalThis, callback: ( |
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 173 | function drawPathDefinitionCharacter( |
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 382 | function drawPathNegativeDefinitionCharacter( |
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 508 | function drawPathFunctionCharacter( |
| LOW | addons/addon-web-links/test/WebLinksAddon.test.ts | 165 | async function resetAndHover(col: number, row: number): Promise<void> { |
| LOW | …addon-ligatures/src/fontLigatures/processors/helper.ts | 151 | function getSubstitutionAtPositionRange(substitutions: ISubstitutionLookupRecord[], lookups: Lookup[], index: number, ra |
| LOW | …addon-ligatures/src/fontLigatures/processors/helper.ts | 168 | function getSubstitutionAtPosition(substitutions: ISubstitutionLookupRecord[], lookups: Lookup[], index: number, glyphId |
| LOW | …ligatures/src/fontLigatures/processors/substitution.ts | 12 | export function getRangeSubstitutionGlyphs(table: SubstitutionTable, glyphId: [number, number]): Map<[number, number] | |
| LOW | …ligatures/src/fontLigatures/processors/substitution.ts | 41 | export function getIndividualSubstitutionGlyph(table: SubstitutionTable, glyphId: number): number | null { |
| LOW | src/browser/Dom.ts | 56 | export function addStandardDisposableListener(node: HTMLElement, type: string, handler: (event: any) => void, useCapture |
| LOW | src/browser/Dom.ts | 154 | export function scheduleAtNextAnimationFrame(targetWindow: Window, runner: () => void, priority: number = 0): IDisposabl |
| LOW | src/browser/Clipboard.ts | 66 | export function moveTextAreaUnderMouseCursor(ev: MouseEvent, textarea: HTMLTextAreaElement, screenElement: HTMLElement): |
| LOW | src/browser/renderer/shared/RendererUtils.ts | 22 | export function isRestrictedPowerlineGlyph(codepoint: number): boolean { |
| LOW | src/browser/renderer/shared/RendererUtils.ts | 63 | export function treatGlyphAsBackgroundColor(codepoint: number): boolean { |
| LOW | src/browser/renderer/shared/SelectionRenderModel.ts | 91 | export function createSelectionRenderModel(): ISelectionRenderModel { |
| LOW | src/browser/input/Mouse.ts | 6 | export function getCoordsRelativeToElement(window: Pick<Window, 'getComputedStyle'>, event: {clientX: number, clientY: n |
| LOW | src/browser/scrollable/mouseEvent.ts | 15 | function getParentWindowIfSameOrigin(w: Window): Window | null { |
| LOW | src/browser/services/MouseService.test.ts | 63 | function createTestMouseTargetElement(): HTMLElement { |
| LOW | src/common/WindowsMode.ts | 9 | export function updateWindowsModeWrappedState(bufferService: IBufferService): void { |
| LOW | src/common/input/Keyboard.test.ts | 10 | function testEvaluateKeyboardEvent(partialEvent: { |
| LOW | src/common/buffer/BufferReflow.ts | 25 | export function reflowLargerGetLinesToRemove(lines: CircularList<IBufferLine>, oldCols: number, newCols: number, bufferA |
| LOW | src/common/buffer/BufferReflow.ts | 116 | export function reflowLargerCreateNewLayout(lines: CircularList<IBufferLine>, toRemove: number[]): INewLayoutResult { |
| LOW | src/common/buffer/BufferReflow.ts | 151 | export function reflowLargerApplyNewLayout(lines: CircularList<IBufferLine>, newLayout: number[]): void { |
| LOW | src/common/buffer/BufferReflow.ts | 179 | export function reflowSmallerGetNewLineLengths(wrappedLines: BufferLine[], oldCols: number, newCols: number): number[] { |
| LOW | src/common/buffer/BufferReflow.ts | 215 | export function getWrappedLineTrimmedLength(lines: BufferLine[], i: number, cols: number): number { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | demo/client/components/window/addonImageWindow.ts | 181 | |
| LOW | test/playwright/MouseTracking.test.ts | 241 | // await getReports(encoding); // clear reports |
| LOW | test/playwright/MouseTracking.test.ts | 361 | await pollFor(ctx.page, () => getReports(encoding), [{ col: 44, row: 25, state: { action: 'press', button: 'left', |
| LOW | test/playwright/MouseTracking.test.ts | 561 | { col: 44, row: 25, state: { action: 'press', button: 'left', modifier: { control: false, shift: false, meta: tr |
| LOW | test/playwright/MouseTracking.test.ts | 581 | // // } else { |
| LOW | test/playwright/MouseTracking.test.ts | 721 | // note: press/release caught by selection manager |
| LOW | test/playwright/MouseTracking.test.ts | 881 | { col: 44, row: 25, state: { action: 'press', button: 'left', modifier: { control: false, shift: false, meta: tr |
| LOW | test/playwright/MouseTracking.test.ts | 901 | // } else { |
| LOW | test/playwright/MouseTracking.test.ts | 1041 | { col: 44, row: 25, state: { action: 'press', button: 'left', modifier: { control: false, shift: false, meta: tr |
| LOW | test/playwright/MouseTracking.test.ts | 1061 | // } else { |
| LOW | test/playwright/MouseTracking.test.ts | 1221 | // await mouseMove(44, 24); |
| LOW | test/playwright/MouseTracking.test.ts | 1381 | // SHIFT |
| LOW | addons/addon-image/fixture/gcrglf.sh | 41 | # (Sixel Display Mode). They control the same thing, so when DECSDM is |
| LOW | addons/addon-image/fixture/textcursor.sh | 1 | #!/bin/bash |
| LOW | addons/addon-image/fixture/textcursor.sh | 21 | # then, the text will overlap the image when a>b. |
| LOW | addons/addon-image/fixture/textcursor.sh | 41 | # will potentially overlap the last row of sixels! |
| LOW | addons/addon-webgl/src/WebglRenderer.ts | 641 | // Calculate the device character height. Height is ceiled in case devicePixelRatio is a |
| LOW | addons/addon-webgl/src/WebglRenderer.ts | 661 | |
| LOW | …addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts | 281 | // |
| LOW | addons/addon-web-links/src/WebLinksAddon.ts | 1 | /** |
| LOW | …ddon-unicode-graphemes/src/third-party/unicode-trie.ts | 41 | |
| LOW | src/common/InputHandler.ts | 301 | // 11 - Change VT100 text background color to Pt. |
| LOW | src/common/parser/EscapeSequenceParser.ts | 21 | // @vt: #Y ESC ST "String Terminator" "ESC \" "Terminator used for string type sequences." |
| LOW | src/common/buffer/Buffer.test.ts | 861 | beforeEach(() => { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 259 | const data = '\x1b]0;Lorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 259 | const data = '\x1b]0;Lorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 289 | const data = '\x1b]1;Lorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 289 | const data = '\x1b]1;Lorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 319 | const data = '\x1bPpLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 319 | const data = '\x1bPpLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 349 | const data = '\x1bPqLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 349 | const data = '\x1bPqLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 379 | const data = '\x1b_XLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 379 | const data = '\x1b_XLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 409 | const data = '\x1b_YLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| LOW | test/benchmark/EscapeSequenceParser.benchmark.ts | 409 | const data = '\x1b_YLorem ipsum dolor sit amet, consetetur sadipscing elitr.\x1b\\'; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/common/Types.ts | 474 | print(data: Uint32Array, start: number, end: number): void; |
| HIGH | src/common/parser/EscapeSequenceParser.test.ts | 122 | print(data: Uint32Array, start: number, end: number): void { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 316 | // Step 1: Compute (x1', y1') |
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 322 | // Step 2: Compute (cx', cy') |
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 344 | // Step 3: Compute (cx, cy) from (cx', cy') |
| LOW | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 348 | // Step 4: Compute angles |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | addons/addon-image/fixture/textcursor.sh | 138 | # color, so remove the color definition and just use the defaults. |
| MEDIUM | …/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 495 | // Apply pattern offset to ensure seamless tiling across cells when cell dimensions are odd. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | bin/update-website.sh | 30 | # Create a PR in the GitHub repo |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/vs_base_find_unused.js | 40 | // Example usage |