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

antsy

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antsy - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

3

lib/antsy/canvas.d.ts

@@ -16,2 +16,3 @@ /// <reference types="node" />

resize(cols: number, rows: number): void;
redraw(): void;
all(): Region;

@@ -46,3 +47,3 @@ clip(x1: number, y1: number, x2: number, y2: number): Region;

clear(): this;
clearSoft(): this;
clearToEndOfLine(): this;
write(s: string): this;

@@ -49,0 +50,0 @@ draw(other: Region): this;

@@ -34,2 +34,6 @@ "use strict";

}
redraw() {
delete this.currentBuffer;
this.setDirty();
}
all() {

@@ -171,6 +175,4 @@ if (!this._all)

}
// clear region without memoizing the "clear screen" (mostly for testing)
clearSoft() {
for (let y = this.y1; y < this.y2; y++)
this.canvas.nextBuffer.clearBox(this.x1, y, this.x2, y + 1, this.attr);
clearToEndOfLine() {
this.canvas.nextBuffer.clearToEndOfLine(this.cursorX, this.cursorY, this.attr);
this.canvas.setDirty();

@@ -177,0 +179,0 @@ return this;

{
"name": "antsy",
"version": "2.3.0",
"version": "2.4.0",
"description": "draw full-color (xterm-256) ansi graphics into a buffer",

@@ -5,0 +5,0 @@ "keywords": [

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