diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-07-02 21:05:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-07-02 21:05:44 +0000 |
commit | ad60a2c952694919ed3985855ef5a00939a937b8 (patch) | |
tree | cea7067924808b9a62d4cc02b32a358aface6913 /tmux.1 | |
parent | 1202284f3728f98e2c40648f6813c64676547ef9 (diff) |
Allow the initial context on prompts to be set with the new -I option to
command-prompt. From Tiago Cunha.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2631,6 +2631,7 @@ session option. Commands related to the status line are as follows: .Bl -tag -width Ds .It Xo Ic command-prompt +.Op Fl I Ar inputs .Op Fl p Ar prompts .Op Fl t Ar target-client .Op Ar template @@ -2643,6 +2644,9 @@ to execute commands interactively. If .Ar template is specified, it is used as the command. +If present, +.Fl I +is a comma-separated list of the initial text for each prompt. If .Fl p is given, @@ -2653,7 +2657,10 @@ a single prompt is displayed, constructed from if it is present, or .Ql \&: if not. -The +.Pp +Both +.Ar inputs +and .Ar prompts may contain the special character sequences supported by the .Ic status-left |