Make linter happy
This commit is contained in:
parent
b39c26153b
commit
8d75a675dd
|
@ -88,10 +88,6 @@ function Client(input, output) {
|
|||
stream.call(this);
|
||||
|
||||
var self = this;
|
||||
|
||||
//this.input = input;
|
||||
//this.output = output;
|
||||
//this.term = new term.ClientTerminal(this.output);
|
||||
this.user = new user.User();
|
||||
this.currentTheme = { info : { name : 'N/A', description : 'None' } };
|
||||
this.lastKeyPressMs = Date.now();
|
||||
|
@ -341,6 +337,7 @@ function Client(input, output) {
|
|||
var code =
|
||||
(parts[1] || '') + (parts[2] || '') +
|
||||
(parts[4] || '') + (parts[9] || '');
|
||||
|
||||
var modifier = (parts[3] || parts[8] || 1) - 1;
|
||||
|
||||
key.ctrl = !!(modifier & 4);
|
||||
|
@ -379,8 +376,10 @@ function Client(input, output) {
|
|||
|
||||
self.lastKeyPressMs = Date.now();
|
||||
|
||||
if(!self.ignoreInput) {
|
||||
self.emit('key press', ch, key);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue