Merge branch 'obsd-master' into master

pull/2802/head
Thomas Adam 2021-07-14 12:01:21 +01:00
commit e3ff887d2a
2 changed files with 4 additions and 1 deletions

View File

@ -233,7 +233,7 @@ const struct options_table_entry options_table[] = {
{ .name = "default-terminal",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SERVER,
.default_str = "screen",
.default_str = TMUX_TERM,
.text = "Default for the 'TERM' environment variable."
},

3
tmux.h
View File

@ -75,6 +75,9 @@ struct winlink;
#ifndef TMUX_SOCK
#define TMUX_SOCK "$TMUX_TMPDIR:" _PATH_TMP
#endif
#ifndef TMUX_TERM
#define TMUX_TERM "screen"
#endif
/* Minimum layout cell size, NOT including border lines. */
#define PANE_MINIMUM 1