new parser

This commit is contained in:
Jörg Breitbart
2018-04-24 00:21:27 +02:00
parent 716a8d5926
commit f9767073ba
4 changed files with 1772 additions and 7 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ export class InputHandler implements IInputHandler {
constructor(private _terminal: IInputHandlingTerminal) { }
public addChar(char: string, code: number): void {
if (char >= ' ') {
// if (char >= ' ') {
// make buffer local for faster access
const buffer = this._terminal.buffer;
@@ -111,7 +111,7 @@ export class InputHandler implements IInputHandler {
buffer.lines.get(row)[buffer.x] = [this._terminal.curAttr, '', 0, undefined];
buffer.x++;
}
}
// }
}
/**