misc changes.

This commit is contained in:
Christopher Jeffrey 2013-03-05 18:16:14 -06:00
parent 962a7bdcc6
commit 14c3e82d16
1 changed files with 4 additions and 2 deletions

View File

@ -1069,7 +1069,7 @@ Tput.prototype.readTermcap = function(data) {
var names = terms[term.strings.tc] var names = terms[term.strings.tc]
? terms[term.strings.tc].names ? terms[term.strings.tc].names
: [term.strings.tc]; : [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]); var inherit = tc(terms[term.strings.tc]);
@ -1181,10 +1181,12 @@ Tput.prototype.translateTermcap = function(info) {
console.log(info); console.log(info);
} }
['name', 'names', 'desc'].forEach(function(key) { ['name', 'names', 'desc', 'inherits'].forEach(function(key) {
out[key] = info[key]; out[key] = info[key];
}); });
out._termcap = true;
// Separate aliases for termcap // Separate aliases for termcap
var talias = (function() { var talias = (function() {
var alias = Tput.alias var alias = Tput.alias