From 981da3d9e62979bb6409e7ace41dd16e4f8b5008 Mon Sep 17 00:00:00 2001 From: Damien Tournoud Date: Sat, 2 Dec 2017 20:39:46 -0800 Subject: [PATCH 1/3] Fix parser not resetting state for some escape sequences --- src/Parser.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Parser.ts b/src/Parser.ts index b6493fea..6f4b0932 100644 --- a/src/Parser.ts +++ b/src/Parser.ts @@ -286,36 +286,43 @@ export class Parser { // Single Shift Select of G2 Character Set // ( SS2 is 0x8e). This affects next character only. case 'N': + this._state = ParserState.NORMAL; break; // ESC O // Single Shift Select of G3 Character Set // ( SS3 is 0x8f). This affects next character only. case 'O': + this._state = ParserState.NORMAL; break; // ESC n // Invoke the G2 Character Set as GL (LS2). case 'n': this._terminal.setgLevel(2); + this._state = ParserState.NORMAL; break; // ESC o // Invoke the G3 Character Set as GL (LS3). case 'o': this._terminal.setgLevel(3); + this._state = ParserState.NORMAL; break; // ESC | // Invoke the G3 Character Set as GR (LS3R). case '|': this._terminal.setgLevel(3); + this._state = ParserState.NORMAL; break; // ESC } // Invoke the G2 Character Set as GR (LS2R). case '}': this._terminal.setgLevel(2); + this._state = ParserState.NORMAL; break; // ESC ~ // Invoke the G1 Character Set as GR (LS1R). case '~': this._terminal.setgLevel(1); + this._state = ParserState.NORMAL; break; // ESC 7 Save Cursor (DECSC). From 616f0f9d364e8bcafb2739a14e14b5cd896a9ac9 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 11 Dec 2017 10:13:17 -0800 Subject: [PATCH 2/3] Fix cursor on scroll bar Fixes #1067 --- src/xterm.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xterm.css b/src/xterm.css index 35e92f63..b3ee50f0 100644 --- a/src/xterm.css +++ b/src/xterm.css @@ -95,6 +95,7 @@ /* On OS X this is required in order for the scroll bar to appear fully opaque */ background-color: #000; overflow-y: scroll; + cursor: default; } .xterm canvas { From 82e7fe5a1b21959cfc111f43a40fdc4a63116383 Mon Sep 17 00:00:00 2001 From: Antonin Stefanutti Date: Fri, 5 Jan 2018 22:12:32 +0100 Subject: [PATCH 3/3] Add Kubebox to real-world uses --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5a77806f..1719efb2 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ computational environment for Jupyter, supporting interactive data science and s - [**Whack Whack Terminal**](https://github.com/Microsoft/WhackWhackTerminal): Terminal emulator for Visual Studio 2017. - [**VTerm**](https://github.com/vterm/vterm): Extensible terminal emulator based on Electron and React. - [**electerm**](http://electerm.html5beta.com): electerm is a terminal/ssh/sftp client(mac, win, linux) based on electron/node-pty/xterm. +- [**Kubebox**](https://github.com/astefanutti/kubebox): Terminal console for Kubernetes clusters. Do you use xterm.js in your application as well? Please [open a Pull Request](https://github.com/sourcelair/xterm.js/pulls) to include it here. We would love to have it in our list.