summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-list-buffers.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2014-10-20 23:35:29 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2014-10-20 23:35:29 +0000
commit7b01a986e07898793077ec84a6ed15b9483f3f3e (patch)
treed069775902e0885e3702066e951d5a8302805cfd /usr.bin/tmux/cmd-list-buffers.c
parentb6045de1676bf019916f0fbccbc4b03f03f8b2cb (diff)
Move template defines back into .c files.
Diffstat (limited to 'usr.bin/tmux/cmd-list-buffers.c')
-rw-r--r--usr.bin/tmux/cmd-list-buffers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-list-buffers.c b/usr.bin/tmux/cmd-list-buffers.c
index ce6438a7980..dad16ad7865 100644
--- a/usr.bin/tmux/cmd-list-buffers.c
+++ b/usr.bin/tmux/cmd-list-buffers.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-list-buffers.c,v 1.22 2014/10/20 22:29:25 nicm Exp $ */
+/* $OpenBSD: cmd-list-buffers.c,v 1.23 2014/10/20 23:35:28 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -27,6 +27,9 @@
* List paste buffers.
*/
+#define LIST_BUFFERS_TEMPLATE \
+ "#{buffer_name}: #{buffer_size} bytes: \"#{buffer_sample}\""
+
enum cmd_retval cmd_list_buffers_exec(struct cmd *, struct cmd_q *);
const struct cmd_entry cmd_list_buffers_entry = {