Add a default-terminal option to set the starting value of $TERM in new

windows.

This is "screen" by default and must be either that or something closely
related. This does makes it easier to customise it if necessary.
This commit is contained in:
Nicholas Marriott
2009-07-10 05:50:54 +00:00
parent 25d5734496
commit daa1faa905
5 changed files with 21 additions and 3 deletions

2
tmux.h
View File

@ -935,7 +935,7 @@ struct set_option_entry {
};
extern const struct set_option_entry set_option_table[];
extern const struct set_option_entry set_window_option_table[];
#define NSETOPTION 25
#define NSETOPTION 26
#define NSETWINDOWOPTION 19
/* tmux.c */