aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-11 19:14:56 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-11 19:14:56 +0000
commit2f7198246e1074e0ff132036182c5a4050506073 (patch)
tree80ca083809957b6ecb99d60376fd5a3c6717ede6 /tmux.1
parent289320a9b19e6be855756e54a545615026b099f8 (diff)
downloadrtmux-2f7198246e1074e0ff132036182c5a4050506073.tar.gz
rtmux-2f7198246e1074e0ff132036182c5a4050506073.tar.bz2
rtmux-2f7198246e1074e0ff132036182c5a4050506073.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.15
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 20b92cdb..62b98b97 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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