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

terminal-kit

Package Overview
Dependencies
Maintainers
1
Versions
638
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terminal-kit - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

6

documentation.md

@@ -143,4 +143,10 @@

* left(n): move the cursor 'n' chars left
* nextLine(n): move the cursor to beginning of the line, 'n' lines down
* previousLine(n): move the cursor to beginning of the line, 'n' lines up
* column(x): move the cursor to column x
* scrollUp(n): scroll whole page up by 'n' lines, new lines are added at the bottom
* scrollDown(n): scroll whole page down by 'n' lines, new lines are added at the top
* moveTo(x,y): move the cursor to the (x,y) coordinate (1,1 is the upper-left corner)
* move(x,y): relative move of the cursor
* hideCursor(boolean): hide/show the cursor

@@ -147,0 +153,0 @@

10

lib/termconfig/xterm.js

@@ -72,4 +72,4 @@ /*

saveCursor: { on: '\x1b7' } ,
restoreCursor: { on: '\x1b8' } ,
saveCursor: { on: '\x1b7' } , // also '\x1b[s'
restoreCursor: { on: '\x1b8' } , // also '\x1b[u'

@@ -80,4 +80,10 @@ up: { on: '\x1b[%uA' } ,

left: { on: '\x1b[%uD' } ,
nextLine: { on: '\x1b[%uE' } ,
previousLine: { on: '\x1b[%uF' } ,
column: { on: '\x1b[%uG' } ,
scrollUp: { on: '\x1b[%uS' } ,
scrollDown: { on: '\x1b[%uT' } ,
moveTo: { on: '\x1b[%+1U;%-1UH' } ,
//moveToBottomLeft: { on: '\x1bF' } , // Not widely supported
hideCursor: { on: '\x1b[?25l' , off: '\x1b[?25h' } ,

@@ -84,0 +90,0 @@ /* Not widely supported

2

package.json
{
"name": "terminal-kit",
"version": "0.1.10",
"version": "0.1.11",
"description": "Terminal utilities with supports for colors, styles, inputs, mouse and many more...",

@@ -5,0 +5,0 @@ "main": "lib/terminal.js",

@@ -143,4 +143,10 @@

* left(n): move the cursor 'n' chars left
* nextLine(n): move the cursor to beginning of the line, 'n' lines down
* previousLine(n): move the cursor to beginning of the line, 'n' lines up
* column(x): move the cursor to column x
* scrollUp(n): scroll whole page up by 'n' lines, new lines are added at the bottom
* scrollDown(n): scroll whole page down by 'n' lines, new lines are added at the top
* moveTo(x,y): move the cursor to the (x,y) coordinate (1,1 is the upper-left corner)
* move(x,y): relative move of the cursor
* hideCursor(boolean): hide/show the cursor

@@ -147,0 +153,0 @@

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