If we can identify the terminal as iTerm2 or as tmux, we can be sure

they support 256 and RGB colours, so set those flags too.
This commit is contained in:
nicm
2020-01-28 11:39:51 +00:00
parent 84995ae172
commit a6129e9974
4 changed files with 28 additions and 32 deletions

1
tmux.h
View File

@ -1171,6 +1171,7 @@ struct tty_term {
#define TERM_NOXENL 0x2
#define TERM_DECSLRM 0x4
#define TERM_DECFRA 0x8
#define TERM_RGBCOLOURS 0x10
int flags;
LIST_ENTRY(tty_term) entry;