From 26440e76e1cc06461781c02b507d4bc923ee16bb Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 23 Feb 2013 15:56:02 -0600 Subject: [PATCH] reorganize termcap object. --- lib/tput.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()