add /lib/terminfo to terminfo dir list

At least on Ubuntu, `/lib/terminfo` contains a smaller subset of terminfo files and is worth using in case none of the other directories don't exist.
This commit is contained in:
Brian White 2015-04-01 23:43:43 -04:00
parent 897f8a2eca
commit 36fed3c12b
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ Tput.ipaths = [
'/usr/local/share/terminfo',
'/usr/local/share/lib/terminfo',
'/usr/local/lib/terminfo',
'/usr/local/ncurses/lib/terminfo'
'/usr/local/ncurses/lib/terminfo',
'/lib/terminfo'
];
Tput.prototype.readTerminfo = function(term) {