mirror of
https://github.com/tmux/tmux.git
synced 2024-10-31 22:58:49 +00:00
Reinstate del_curterm ifdef bits.
This commit is contained in:
parent
ba9f89c44e
commit
9cd45ddad3
@ -695,7 +695,10 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps,
|
|||||||
(*ncaps)++;
|
(*ncaps)++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(NCURSES_VERSION_MAJOR) || NCURSES_VERSION_MAJOR > 5 || \
|
||||||
|
(NCURSES_VERSION_MAJOR == 5 && NCURSES_VERSION_MINOR > 6)
|
||||||
del_curterm(cur_term);
|
del_curterm(cur_term);
|
||||||
|
#endif
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user