Query the client terminal for foreground and background colours and if
authornicm <nicm@openbsd.org>
Tue, 3 Jan 2023 11:43:24 +0000 (11:43 +0000)
committernicm <nicm@openbsd.org>
Tue, 3 Jan 2023 11:43:24 +0000 (11:43 +0000)
commitd21788ce70be80e9c4ed0c52c149e01147c4a823
tree5cc8d0b894163e6e4e0f5da22dd6600b765dbd86
parent56d4042b3888883b0d09babf274e25c5b920d312
Query the client terminal for foreground and background colours and if
OSC 10 or 11 is received but no colour has been set inside tmux, return
the colour from the first attached client (probably most people will
have all light or or all dark terminals).
usr.bin/tmux/cmd-queue.c
usr.bin/tmux/colour.c
usr.bin/tmux/input.c
usr.bin/tmux/tmux.h
usr.bin/tmux/tty-keys.c
usr.bin/tmux/tty.c