Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xterm-addon-webgl

Package Overview
Dependencies
Maintainers
1
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xterm-addon-webgl - npm Package Compare versions

Comparing version 0.16.0-beta.14 to 0.16.0-beta.15

2

package.json
{
"name": "xterm-addon-webgl",
"version": "0.16.0-beta.14",
"version": "0.16.0-beta.15",
"author": {

@@ -5,0 +5,0 @@ "name": "The xterm.js authors",

@@ -14,2 +14,4 @@ /**

import { TextureAtlas } from 'browser/renderer/shared/TextureAtlas';
import { ILogService } from 'common/services/Services';
import { traceCall } from 'common/services/LogService';

@@ -216,2 +218,3 @@ interface IVertices {

@traceCall
public updateCell(x: number, y: number, code: number, bg: number, fg: number, ext: number, chars: string, lastBg: number): void {

@@ -218,0 +221,0 @@ // Since this function is called for every cell (`rows*cols`), it must be very optimized. It

@@ -11,5 +11,6 @@ /**

import { getSafariVersion, isSafari } from 'common/Platform';
import { ICoreService, IDecorationService, IOptionsService } from 'common/services/Services';
import { ICoreService, IDecorationService, ILogService, IOptionsService } from 'common/services/Services';
import { ITerminalAddon, Terminal } from 'xterm';
import { WebglRenderer } from './WebglRenderer';
import { setTraceLogger } from 'common/services/LogService';

@@ -55,4 +56,9 @@ export class WebglAddon extends Disposable implements ITerminalAddon {

const decorationService: IDecorationService = unsafeCore._decorationService;
const logService: ILogService = unsafeCore._logService;
const themeService: IThemeService = unsafeCore._themeService;
// Set trace logger just in case it hasn't been yet which could happen when the addon is
// bundled separately to the core module
setTraceLogger(logService);
this._renderer = this.register(new WebglRenderer(

@@ -59,0 +65,0 @@ terminal,

@@ -20,3 +20,3 @@ /**

import { Disposable, getDisposeArrayDisposable, toDisposable } from 'common/Lifecycle';
import { ICoreService, IDecorationService, IOptionsService } from 'common/services/Services';
import { ICoreService, IDecorationService, ILogService, IOptionsService } from 'common/services/Services';
import { CharData, IBufferLine, ICellData } from 'common/Types';

@@ -31,2 +31,3 @@ import { IDisposable, Terminal } from 'xterm';

import { IWebGL2RenderingContext } from './Types';
import { traceCall } from 'common/services/LogService';

@@ -328,2 +329,3 @@ export class WebglRenderer extends Disposable implements IRenderer {

@traceCall
public renderRows(start: number, end: number): void {

@@ -330,0 +332,0 @@ if (!this._isAttached) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc