summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-04-06 21:35:44 +0000
committernicm <nicm@openbsd.org>2010-04-06 21:35:44 +0000
commit5d82a79b857b9d565b9b64ba030303d6b80bcb5e (patch)
tree4e2138689a42566c9f7abbe157710b242abfb0e3 /usr.bin/tmux/tmux.h
parentTry a more detailed message about the time (diff)
downloadwireguard-openbsd-5d82a79b857b9d565b9b64ba030303d6b80bcb5e.tar.xz
wireguard-openbsd-5d82a79b857b9d565b9b64ba030303d6b80bcb5e.zip
Merge copy mode and output mode, dropping the latter. Idea and code from
Micah Cowan.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index c2da7c63f3b..8877b8848a8 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.215 2010/04/04 19:02:09 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.216 2010/04/06 21:35:44 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -541,6 +541,7 @@ struct mode_key_table {
#define MODE_KCURSOR 0x4
#define MODE_KKEYPAD 0x8 /* set = application, clear = number */
#define MODE_MOUSE 0x10
+#define MODE_WRAP 0x20 /* whether lines wrap */
/*
* A single UTF-8 character.
@@ -1880,13 +1881,12 @@ extern const struct window_mode window_clock_mode;
/* window-copy.c */
extern const struct window_mode window_copy_mode;
+void window_copy_init_from_pane(struct window_pane *);
+void window_copy_init_for_output(struct window_pane *);
+void window_copy_add(struct window_pane *, const char *, ...);
+void window_copy_vadd(struct window_pane *, const char *, va_list);
void window_copy_pageup(struct window_pane *);
-/* window-more.c */
-extern const struct window_mode window_more_mode;
-void window_more_add(struct window_pane *, const char *, ...);
-void window_more_vadd(struct window_pane *, const char *, va_list);
-
/* window-choose.c */
extern const struct window_mode window_choose_mode;
void window_choose_vadd(