fix termcap aliases.
This commit is contained in:
parent
36df8ef3ca
commit
a3bf0984ca
|
@ -1147,6 +1147,13 @@ Tput.prototype.translateTermcap = function(info) {
|
|||
Object.keys(info[key]).forEach(function(cap) {
|
||||
if (talias[cap]) {
|
||||
out[key][talias[cap][0]] = info[key][cap];
|
||||
} else {
|
||||
// NOTE: Possibly include all termcap names
|
||||
// in a separate alias.js file. Some are
|
||||
// missing from the terminfo alias.js file
|
||||
// which is why we have to do this:
|
||||
// See: $ man termcap
|
||||
out[key][cap] = info[key][cap];
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue