mirror of
https://github.com/tmux/tmux.git
synced 2025-12-25 10:26:05 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@@ -84,6 +84,9 @@ static const char *options_table_popup_border_lines_list[] = {
|
||||
static const char *options_table_set_clipboard_list[] = {
|
||||
"off", "external", "on", NULL
|
||||
};
|
||||
static const char *options_table_get_clipboard_list[] = {
|
||||
"off", "buffer", "request", "both", NULL
|
||||
};
|
||||
static const char *options_table_window_size_list[] = {
|
||||
"largest", "smallest", "manual", "latest", NULL
|
||||
};
|
||||
@@ -405,6 +408,18 @@ const struct options_table_entry options_table[] = {
|
||||
.text = "Whether to send focus events to applications."
|
||||
},
|
||||
|
||||
{ .name = "get-clipboard",
|
||||
.type = OPTIONS_TABLE_CHOICE,
|
||||
.scope = OPTIONS_TABLE_SERVER,
|
||||
.choices = options_table_get_clipboard_list,
|
||||
.default_num = 1,
|
||||
.text = "When an application requests the clipboard, whether to "
|
||||
"ignore the request ('off'); respond with the newest buffer "
|
||||
"('buffer'); request the clipboard from the most recently "
|
||||
"used terminal ('request'); or to request the clipboard, "
|
||||
"create a buffer, and send it to the application ('both')."
|
||||
},
|
||||
|
||||
{ .name = "history-file",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_SERVER,
|
||||
|
||||
Reference in New Issue
Block a user