aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-19 17:49:53 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-19 17:49:53 +0000
commitc3859d1df1fbdb63b8aab15d10266e26c5e428eb (patch)
tree8e83d8986670137d3c6e4f54aa1f1dbb92533ae1 /status.c
parent5a5e285be8caf98c7777a2afa717d04ac44c9f75 (diff)
downloadrtmux-c3859d1df1fbdb63b8aab15d10266e26c5e428eb.tar.gz
rtmux-c3859d1df1fbdb63b8aab15d10266e26c5e428eb.tar.bz2
rtmux-c3859d1df1fbdb63b8aab15d10266e26c5e428eb.zip
Add copy-pipe mode command to copy selection and also pipe to a command.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index 4083f2a5..3a315f49 100644
--- a/status.c
+++ b/status.c
@@ -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--;