summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2021-03-01 10:50:14 +0000
committernicm <nicm@openbsd.org>2021-03-01 10:50:14 +0000
commit738d12df74c7fbd1df386437864308b6b774af8d (patch)
treeef1b1e49d9307d59ba7ba41193f34dcba0ea9680
parentAdd some text with examples of ; as a separator, GitHub issues 2522 and (diff)
downloadwireguard-openbsd-738d12df74c7fbd1df386437864308b6b774af8d.tar.xz
wireguard-openbsd-738d12df74c7fbd1df386437864308b6b774af8d.zip
There is no need to call del_curterm in the server anymore.
-rw-r--r--usr.bin/tmux/tty-term.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 07ba8f94d7d..6ed648a516d 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -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);