mirror of
https://github.com/tmux/tmux.git
synced 2024-12-12 17:38:48 +00:00
Move default value for TERM into tmux.h.
This commit is contained in:
parent
38c5788232
commit
732c72c98e
@ -234,7 +234,7 @@ const struct options_table_entry options_table[] = {
|
|||||||
{ .name = "default-terminal",
|
{ .name = "default-terminal",
|
||||||
.type = OPTIONS_TABLE_STRING,
|
.type = OPTIONS_TABLE_STRING,
|
||||||
.scope = OPTIONS_TABLE_SERVER,
|
.scope = OPTIONS_TABLE_SERVER,
|
||||||
.default_str = "screen",
|
.default_str = TMUX_TERM,
|
||||||
.text = "Default for the 'TERM' environment variable."
|
.text = "Default for the 'TERM' environment variable."
|
||||||
},
|
},
|
||||||
|
|
||||||
|
3
tmux.h
3
tmux.h
@ -74,6 +74,9 @@ struct winlink;
|
|||||||
#ifndef TMUX_SOCK
|
#ifndef TMUX_SOCK
|
||||||
#define TMUX_SOCK "$TMUX_TMPDIR:" _PATH_TMP
|
#define TMUX_SOCK "$TMUX_TMPDIR:" _PATH_TMP
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef TMUX_TERM
|
||||||
|
#define TMUX_TERM "screen"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Minimum layout cell size, NOT including border lines. */
|
/* Minimum layout cell size, NOT including border lines. */
|
||||||
#define PANE_MINIMUM 1
|
#define PANE_MINIMUM 1
|
||||||
|
Loading…
Reference in New Issue
Block a user