diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-11 19:14:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-11 19:14:56 +0000 |
commit | 2f7198246e1074e0ff132036182c5a4050506073 (patch) | |
tree | 80ca083809957b6ecb99d60376fd5a3c6717ede6 /tmux.1 | |
parent | 289320a9b19e6be855756e54a545615026b099f8 (diff) | |
download | rtmux-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.1 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |