diff --git a/lib/tput.js b/lib/tput.js index 8c56a71..0e6d32f 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -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()