summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 15:52:43 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 15:52:43 +0000
commit50047bf5bd06d7e1c60053cb48afbb3e925b51c4 (patch)
treefda91716bd53e83b22b1d5dc2f1a16c307cfa8a0 /usr.bin/tmux/status.c
parentb5b006fafbbbab706603de741e249fa4a663f25d (diff)
Add copy-pipe mode command to copy selection and also pipe to a command.
Diffstat (limited to 'usr.bin/tmux/status.c')
-rw-r--r--usr.bin/tmux/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c
index b245f135047..3c35ff4c54b 100644
--- a/usr.bin/tmux/status.c
+++ b/usr.bin/tmux/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.100 2013/03/22 10:31:22 nicm Exp $ */
+/* $OpenBSD: status.c,v 1.101 2013/03/22 15:52:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1042,7 +1042,7 @@ status_prompt_key(struct client *c, int key)
size_t size, n, off, idx;
size = strlen(c->prompt_buffer);
- switch (mode_key_lookup(&c->prompt_mdata, key)) {
+ switch (mode_key_lookup(&c->prompt_mdata, key, NULL)) {
case MODEKEYEDIT_CURSORLEFT:
if (c->prompt_index > 0) {
c->prompt_index--;