Move the call to setupterm() into the client and have it pass the
authornicm <nicm@openbsd.org>
Wed, 17 Feb 2021 07:18:36 +0000 (07:18 +0000)
committernicm <nicm@openbsd.org>
Wed, 17 Feb 2021 07:18:36 +0000 (07:18 +0000)
commitc05282f8eea07b70b4f0e3905b9849fff97f0f85
tree872feac23f12b999b0a143474eaba56dd25f07ce
parent9d17d79786bc2bd71c90602337753a1f8ff08a01
Move the call to setupterm() into the client and have it pass the
results to the server over imsg, means the server does not need to enter
ncurses or read terminfo db. Old clients will not work with a new
server.
usr.bin/tmux/client.c
usr.bin/tmux/server-client.c
usr.bin/tmux/tmux.h
usr.bin/tmux/tty-term.c
usr.bin/tmux/tty.c