diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-05-27 19:02:25 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-05-27 19:02:25 +0100 |
commit | 793f4d89d6a04573825e9fa39fbc301e67c4d300 (patch) | |
tree | 751d56afddf5e9fae992ebb9a7d0e9f3ecf431b1 | |
parent | d4bf4bd7c7702433f713fd31a1f84cb9b189f514 (diff) | |
parent | 90cd045cf354000cbf9c1f66e27366868a040588 (diff) | |
download | rtmux-793f4d89d6a04573825e9fa39fbc301e67c4d300.tar.gz rtmux-793f4d89d6a04573825e9fa39fbc301e67c4d300.tar.bz2 rtmux-793f4d89d6a04573825e9fa39fbc301e67c4d300.zip |
Merge branch 'obsd-master'
-rw-r--r-- | format.c | 3 | ||||
-rw-r--r-- | tmux.1 | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -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" @@ -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 |