aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-12 17:11:39 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-12 17:11:39 +0000
commit27fc963631b5e2ac1064823380e54cc48ad2aad8 (patch)
treec0227da222dcbbddff3ff1e69dfd0631f3c604c6 /tmux.h
parentd8de72ca77a6bbe2e8b9244480d700d343a6a656 (diff)
downloadrtmux-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 9ccf0752..dcca8d25 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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;