diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-12 17:11:39 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-12 17:11:39 +0000 |
commit | 27fc963631b5e2ac1064823380e54cc48ad2aad8 (patch) | |
tree | c0227da222dcbbddff3ff1e69dfd0631f3c604c6 /tmux.h | |
parent | d8de72ca77a6bbe2e8b9244480d700d343a6a656 (diff) | |
download | rtmux-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.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.354 2009-07-12 17:07:58 nicm Exp $ */ +/* $Id: tmux.h,v 1.355 2009-07-12 17:11:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -857,6 +857,7 @@ struct cmd_entry { #define CMD_UFLAG 0x100 #define CMD_BIGDFLAG 0x200 #define CMD_BIGUFLAG 0x400 +#define CMD_RFLAG 0x800 int flags; |