summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-27 19:02:25 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-27 19:02:25 +0100
commit793f4d89d6a04573825e9fa39fbc301e67c4d300 (patch)
tree751d56afddf5e9fae992ebb9a7d0e9f3ecf431b1
parentd4bf4bd7c7702433f713fd31a1f84cb9b189f514 (diff)
parent90cd045cf354000cbf9c1f66e27366868a040588 (diff)
Merge branch 'obsd-master'
-rw-r--r--format.c3
-rw-r--r--tmux.16
2 files changed, 4 insertions, 5 deletions
diff --git a/format.c b/format.c
index 7387be1c..6fe76f30 100644
--- a/format.c
+++ b/format.c
@@ -77,7 +77,6 @@ static void format_defaults_winlink(struct format_tree *, struct winlink *);
"|" \
"Kill,X,kill-window|" \
"Respawn,R,respawn-window -k|" \
- "|" \
"#{?pane_marked,Unmark,Mark},m,select-pane -m|" \
"Rename,n,command-prompt -I \"#W\" \"rename-window -- '%%'\"|" \
"|" \
@@ -86,7 +85,6 @@ static void format_defaults_winlink(struct format_tree *, struct winlink *);
#define DEFAULT_PANE_MENU \
"#{?mouse_word,Search For #[underscore]#{=/9/...:mouse_word},},C-r,copy-mode -t=; send -Xt= search-backward \"#{q:mouse_word}\"|" \
"#{?mouse_word,Type #[underscore]#{=/9/...:mouse_word},},C-y,send-keys -l \"#{q:mouse_word}\"|" \
- "|" \
"#{?mouse_word,Copy #[underscore]#{=/9/...:mouse_word},},c,set-buffer \"#{q:mouse_word}\"|" \
"#{?mouse_line,Copy Line,},l,set-buffer \"#{q:mouse_line}\"|" \
"|" \
@@ -99,7 +97,6 @@ static void format_defaults_winlink(struct format_tree *, struct winlink *);
"|" \
"Kill,X,kill-pane|" \
"Respawn,R,respawn-pane -k|" \
- "|" \
"#{?pane_marked,Unmark,Mark},m,select-pane -m|" \
"#{?window_zoomed_flag,Unzoom,Zoom},z,resize-pane -Z"
diff --git a/tmux.1 b/tmux.1
index eb861ef2..b51ef025 100644
--- a/tmux.1
+++ b/tmux.1
@@ -493,7 +493,7 @@ comment is ignored until the end of the line.
If the last character of a line is \e, the line is joined with the following
line (the \e and the newline are completely removed).
This is called line continuation and applies both inside and outside quoted
-strings and in comments.
+strings and in comments, but not inside braces.
.Pp
Command arguments may be specified as strings surrounded by single (') quotes,
double quotes (") or braces ({}).
@@ -528,7 +528,9 @@ variable.
.El
.Pp
Braces are similar to single quotes in that the text inside is taken literally
-without replacements, but they can span multiple lines.
+without any replacements but this also includes line continuation.
+Braces can span multiple lines in which case a literal newline is included in the
+string.
They are designed to avoid the need for additional escaping when passing a group
of
.Nm