From 27fc963631b5e2ac1064823380e54cc48ad2aad8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 12 Jul 2009 17:11:39 +0000 Subject: 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! --- tmux.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.1') 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 .\" @@ -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 -- cgit