This commit is contained in:
Bryan Ashby 2019-11-20 19:11:05 -07:00
parent be5d46be3c
commit 1aa545e254
No known key found for this signature in database
GPG key ID: B49EB437951D2542
2 changed files with 1 additions and 2 deletions

View file

@ -18,7 +18,7 @@ function ansiDiscoverHomePosition(client, cb) {
// think of home as 0,0. If this is the case, we need to offset
// our positioning to accommodate for such.
//
const done = function(err) {
const done = (err) => {
client.removeListener('cursor position report', cprListener);
clearTimeout(giveUpTimer);
return cb(err);