aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
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.h
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.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index a2d3063d..02f08ed4 100644
--- a/tmux.h
+++ b/tmux.h
@@ -858,6 +858,7 @@ struct cmd_entry {
#define CMD_UFLAG 0x100
#define CMD_BIGDFLAG 0x200
#define CMD_BIGUFLAG 0x400
+#define CMD_RFLAG 0x800
int flags;