The branch, master has been updated
       via  0ccd84d2ef3b925d1039144d26af692fef69b866 (commit)
      from  041a911c43c9c732e5399a7757a4e21ae4ac0607 (commit)

- Log -----------------------------------------------------------------
commit 0ccd84d2ef3b925d1039144d26af692fef69b866
Author: Nicholas Marriott <nicholas.marri...@gmail.com>
Commit: Nicholas Marriott <nicholas.marri...@gmail.com>

    Instead of skipping del_curterm on FreeBSD < 7, skip it on ncurses < 5.7. It
    looks like 5.6 on Linux has the problem too. Reported by Myles Dear.
---
 tty-term.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tty-term.c b/tty-term.c
index 4e1c279..95cb5db 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -389,7 +389,8 @@ tty_term_find(char *name, int fd, const char *overrides, 
char **cause)
        tty_term_override(term, overrides);
 
        /* Delete curses data. */
-#if !defined(__FreeBSD_version) || __FreeBSD_version >= 700000
+#if !defined(NCURSES_VERSION_MAJOR) || NCURSES_VERSION_MAJOR > 5 || \
+    (NCURSES_VERSION_MAJOR == 5 && NCURSES_VERSION_MINOR > 6)
        del_curterm(cur_term);
 #endif
 


-----------------------------------------------------------------------

Summary of changes:
 tty-term.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to