aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-12 17:11:39 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-12 17:11:39 +0000
commit27fc963631b5e2ac1064823380e54cc48ad2aad8 (patch)
treec0227da222dcbbddff3ff1e69dfd0631f3c604c6 /tmux.1
parentd8de72ca77a6bbe2e8b9244480d700d343a6a656 (diff)
downloadrtmux-27fc963631b5e2ac1064823380e54cc48ad2aad8.tar.gz
rtmux-27fc963631b5e2ac1064823380e54cc48ad2aad8.tar.bz2
rtmux-27fc963631b5e2ac1064823380e54cc48ad2aad8.zip
When pasting, translate \n into \r. This matches xterm and putty's behaviour,
and makes emacs happy when pasting into some modes. A new -r (raw) flag to paste-buffer pastes without the translation. From Kalle Olavi Niemitalo, thanks!
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.17
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 932d5fc9..eb0d585f 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.110 2009-07-12 17:10:35 nicm Exp $
+.\" $Id: tmux.1,v 1.111 2009-07-12 17:11:39 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -897,6 +897,11 @@ Insert the contents of a paste buffer into the current window.
With
.Fl d ,
also delete the paste buffer from the stack.
+When output, any linefeed (LF) characters in the paste buffer are replaced with
+carriage returns (CR).
+This translation may be disabled with the
+.Fl r
+flag.
.It Xo Ic previous-window
.Op Fl a
.Op Fl t Ar target-session