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:
parent
897f8a2eca
commit
36fed3c12b
|
@ -134,7 +134,8 @@ Tput.ipaths = [
|
||||||
'/usr/local/share/terminfo',
|
'/usr/local/share/terminfo',
|
||||||
'/usr/local/share/lib/terminfo',
|
'/usr/local/share/lib/terminfo',
|
||||||
'/usr/local/lib/terminfo',
|
'/usr/local/lib/terminfo',
|
||||||
'/usr/local/ncurses/lib/terminfo'
|
'/usr/local/ncurses/lib/terminfo',
|
||||||
|
'/lib/terminfo'
|
||||||
];
|
];
|
||||||
|
|
||||||
Tput.prototype.readTerminfo = function(term) {
|
Tput.prototype.readTerminfo = function(term) {
|
||||||
|
|
Loading…
Reference in New Issue