mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-24 00:28:06 +00:00
add names array to terminfo data.
This commit is contained in:
parent
fe0e82f046
commit
fb752f1783
@ -85,9 +85,10 @@ Tput.prototype.parseTerminfo = function(data) {
|
||||
var names = data.toString('ascii', i, i + h.namesSize - 1)
|
||||
, parts = names.split('|')
|
||||
, name = parts[0]
|
||||
, desc = parts.slice(1).join('|');
|
||||
, desc = parts.pop();
|
||||
|
||||
info.name = name;
|
||||
info.names = parts;
|
||||
info.desc = desc;
|
||||
|
||||
i += h.namesSize - 1;
|
||||
|
@ -9,6 +9,7 @@
|
||||
strTableSize: 1388,
|
||||
total: 2342 },
|
||||
name: 'xterm',
|
||||
names: [ 'xterm' ],
|
||||
desc: 'xterm terminal emulator (X Window System)',
|
||||
bools:
|
||||
{ auto_left_margin: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user