mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-24 18:00:45 +00:00
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
|
// Extended Header
|
||||||
if (this.extended) {
|
if (this.extended) {
|
||||||
|
i--;
|
||||||
i += h.strTableSize;
|
i += h.strTableSize;
|
||||||
|
if (i % 2) {
|
||||||
|
assert.equal(data[i], 0);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
l = data.length;
|
l = data.length;
|
||||||
if (i < l - 1) {
|
if (i < l - 1) {
|
||||||
var extended = this.parseExtended(data.slice(i));
|
var extended = this.parseExtended(data.slice(i));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user