From 50047bf5bd06d7e1c60053cb48afbb3e925b51c4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 22 Mar 2013 15:52:43 +0000 Subject: Add copy-pipe mode command to copy selection and also pipe to a command. --- usr.bin/tmux/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/status.c') 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 @@ -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--; -- cgit v1.2.3