mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
terminfo tweaks
This commit is contained in:
parent
0c96a1b963
commit
bd588f625a
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ bin_echoti(char *name, char **argv, char *ops, int func)
|
|||
|
||||
/* get a string-type capability */
|
||||
t = (char *)tigetstr(s);
|
||||
if (!t || !*t) {
|
||||
if (!t || t == (char *)-1 || !*t) {
|
||||
/* capability doesn't exist, or (if boolean) is off */
|
||||
zwarnnam(name, "no such terminfo capability: %s", s, 0);
|
||||
return 1;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name=zsh/terminfo
|
||||
link=`if test "x$ac_cv_have_tigetstr" = xyes; then echo either; else echo no; fi`
|
||||
link='if test "x$ac_cv_func_tigetstr" = xyes; then echo either; else echo no; fi'
|
||||
load=yes
|
||||
|
||||
autobins="echoti"
|
||||
|
|
Loading…
Reference in a new issue