reorganize termcap object.

This commit is contained in:
Christopher Jeffrey 2013-02-23 15:56:02 -06:00
parent 07cb619214
commit 26440e76e1
1 changed files with 1 additions and 2 deletions

View File

@ -810,8 +810,7 @@ Tput.prototype.parseTermcap = function(data) {
if (j === 0) {
names = field.split('|');
term = terms[names[0]] = {};
term.header = {
term = terms[names[0]] = {
name: names[0],
names: names,
desc: names.pop()