summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-02-06 17:35:01 +0000
committernicm <nicm@openbsd.org>2010-02-06 17:35:01 +0000
commit78d51a749ccd7ebbcc40a3da6238cd32c6cc55cf (patch)
treee87d9b350b78f6ed968301c2a0c8fc7d2f18dcd1 /usr.bin/tmux/tmux.h
parentInstead of bailing out on the first configuration file error, carry on, (diff)
downloadwireguard-openbsd-78d51a749ccd7ebbcc40a3da6238cd32c6cc55cf.tar.xz
wireguard-openbsd-78d51a749ccd7ebbcc40a3da6238cd32c6cc55cf.zip
Rectangle copy support, from Robin Lee Powell.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index f2ff1aa4789..b7a5ad027ec 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.203 2010/02/06 17:15:33 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.204 2010/02/06 17:35:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -469,6 +469,7 @@ enum mode_key_cmd {
MODEKEYCOPY_PREVIOUSPAGE,
MODEKEYCOPY_PREVIOUSSPACE,
MODEKEYCOPY_PREVIOUSWORD,
+ MODEKEYCOPY_RECTANGLETOGGLE,
MODEKEYCOPY_RIGHT,
MODEKEYCOPY_SCROLLDOWN,
MODEKEYCOPY_SCROLLUP,
@@ -674,6 +675,7 @@ SLIST_HEAD(joblist, job);
/* Screen selection. */
struct screen_sel {
int flag;
+ int rectflag;
u_int sx;
u_int sy;
@@ -1774,8 +1776,8 @@ void screen_free(struct screen *);
void screen_reset_tabs(struct screen *);
void screen_set_title(struct screen *, const char *);
void screen_resize(struct screen *, u_int, u_int);
-void screen_set_selection(
- struct screen *, u_int, u_int, u_int, u_int, struct grid_cell *);
+void screen_set_selection(struct screen *,
+ u_int, u_int, u_int, u_int, u_int, struct grid_cell *);
void screen_clear_selection(struct screen *);
int screen_check_selection(struct screen *, u_int, u_int);