There is no need to call del_curterm in the server anymore.
authornicm <nicm@openbsd.org>
Mon, 1 Mar 2021 10:50:14 +0000 (10:50 +0000)
committernicm <nicm@openbsd.org>
Mon, 1 Mar 2021 10:50:14 +0000 (10:50 +0000)
usr.bin/tmux/tty-term.c

index 07ba8f9..6ed648a 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.87 2021/02/17 07:18:36 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.88 2021/03/01 10:50:14 nicm Exp $ */
 
 /*
  * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -521,9 +521,6 @@ tty_term_create(struct tty *tty, char *name, char **caps, u_int ncaps,
                a = options_array_next(a);
        }
 
-       /* Delete curses data. */
-       del_curterm(cur_term);
-
        /* Apply overrides so any capabilities used for features are changed. */
        tty_term_apply_overrides(term);