From 14c3e82d1642ee20abc3524597ca079e2c8ec89c Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 5 Mar 2013 18:16:14 -0600 Subject: [PATCH] misc changes. --- lib/tput.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/tput.js b/lib/tput.js index 299963c..5652340 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -1069,7 +1069,7 @@ Tput.prototype.readTermcap = function(data) { var names = terms[term.strings.tc] ? terms[term.strings.tc].names : [term.strings.tc]; - console.log(term.names.join('/') + ' inherits from ' + names.join('/')); + console.log(term.names.join('|') + ' inherits from ' + names.join('|')); } var inherit = tc(terms[term.strings.tc]); @@ -1181,10 +1181,12 @@ Tput.prototype.translateTermcap = function(info) { console.log(info); } - ['name', 'names', 'desc'].forEach(function(key) { + ['name', 'names', 'desc', 'inherits'].forEach(function(key) { out[key] = info[key]; }); + out._termcap = true; + // Separate aliases for termcap var talias = (function() { var alias = Tput.alias