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. 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). 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 {