From 94f6488f0ed043e844fb5ee74d8c77e0ce331f0a Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 27 May 2019 15:29:46 +0000 Subject: Go less crazy with horizontal separators on default menus. --- format.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/format.c b/format.c index 60db4eea..152e0b3b 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" -- cgit v1.2.3 From 90cd045cf354000cbf9c1f66e27366868a040588 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 27 May 2019 16:22:32 +0000 Subject: Clarify newlines inside {} a little. --- tmux.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmux.1 b/tmux.1 index 77f509ed..014efe44 100644 --- a/tmux.1 +++ b/tmux.1 @@ -488,7 +488,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 ({}). @@ -523,7 +523,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 -- cgit v1.2.3