summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-choose-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2014-10-20 23:35:28 +0000
committernicm <nicm@openbsd.org>2014-10-20 23:35:28 +0000
commit1905ff333aa118326f8ca071b85904578a78a51e (patch)
treebbc380516fb644e99c46b08934f036a9b3128b89 /usr.bin/tmux/cmd-choose-buffer.c
parentTidy up some includes. (diff)
downloadwireguard-openbsd-1905ff333aa118326f8ca071b85904578a78a51e.tar.xz
wireguard-openbsd-1905ff333aa118326f8ca071b85904578a78a51e.zip
Move template defines back into .c files.
Diffstat (limited to 'usr.bin/tmux/cmd-choose-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-choose-buffer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-choose-buffer.c b/usr.bin/tmux/cmd-choose-buffer.c
index 2595c865911..b4f11ddbfc4 100644
--- a/usr.bin/tmux/cmd-choose-buffer.c
+++ b/usr.bin/tmux/cmd-choose-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-choose-buffer.c,v 1.19 2014/10/20 22:29:25 nicm Exp $ */
+/* $OpenBSD: cmd-choose-buffer.c,v 1.20 2014/10/20 23:35:28 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -27,6 +27,9 @@
* Enter choice mode to choose a buffer.
*/
+#define CHOOSE_BUFFER_TEMPLATE \
+ "#{buffer_name}: #{buffer_size} bytes: #{buffer_sample}"
+
enum cmd_retval cmd_choose_buffer_exec(struct cmd *, struct cmd_q *);
const struct cmd_entry cmd_choose_buffer_entry = {