diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-03-01 10:51:24 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-03-01 10:51:24 +0000 |
commit | 9cd45ddad3141370e0dac117388984a3f026c097 (patch) | |
tree | ea5d22d8c84e7b229484c0aa45b7030fd210150e | |
parent | ba9f89c44e3294284493178fb34f864aafb399cd (diff) | |
download | rtmux-9cd45ddad3141370e0dac117388984a3f026c097.tar.gz rtmux-9cd45ddad3141370e0dac117388984a3f026c097.tar.bz2 rtmux-9cd45ddad3141370e0dac117388984a3f026c097.zip |
Reinstate del_curterm ifdef bits.
-rw-r--r-- | tty-term.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -695,7 +695,10 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps, (*ncaps)++; } +#if !defined(NCURSES_VERSION_MAJOR) || NCURSES_VERSION_MAJOR > 5 || \ + (NCURSES_VERSION_MAJOR == 5 && NCURSES_VERSION_MINOR > 6) del_curterm(cur_term); +#endif return (0); } |