have extended area start on an even byte.
This commit is contained in:
parent
b664a21cdd
commit
00b5a5b6f7
|
@ -230,7 +230,12 @@ Tput.prototype.parseTerminfo = function(data) {
|
|||
|
||||
// Extended Header
|
||||
if (this.extended) {
|
||||
i--;
|
||||
i += h.strTableSize;
|
||||
if (i % 2) {
|
||||
assert.equal(data[i], 0);
|
||||
i++;
|
||||
}
|
||||
l = data.length;
|
||||
if (i < l - 1) {
|
||||
var extended = this.parseExtended(data.slice(i));
|
||||
|
|
Loading…
Reference in New Issue