Sync OpenBSD patchset 254:

When creating a new session from the command-line where there is an external
terminal, copy the termios(4) special characters and use them for new windows
created in the new session. Suggested by Theo.
This commit is contained in:
Tiago Cunha
2009-08-16 18:59:12 +00:00
parent 8f9858ba2f
commit f415d43c3b
7 changed files with 57 additions and 24 deletions

8
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.149 2009-08-10 21:39:15 tcunha Exp $
.\" $Id: tmux.1,v 1.150 2009-08-16 18:59:12 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: August 10 2009 $
.Dd $Mdocdate: August 13 2009 $
.Dt TMUX 1
.Os
.Sh NAME
@ -398,6 +398,10 @@ is given.
and
.Ar command
are the name of and command to execute in the initial window.
.Pp
If run from a terminal, any
.Xr termios 4
special characters are saved and used for new windows in the new session.
.It Ic refresh-client Op Fl t Ar target-client
.D1 (alias: Ic refresh )
Refresh the current client if bound to a key, or a single client if one is given