mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-14 07:49:01 +02:00
Sync OpenBSD patchset 697:
Identical behaviour to select-prompt can now be obtained with command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%".
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: cmd-command-prompt.c,v 1.27 2009-11-14 17:56:39 tcunha Exp $ */
|
||||
/* $Id: cmd-command-prompt.c,v 1.28 2010-05-14 14:33:39 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -81,6 +81,10 @@ cmd_command_prompt_init(struct cmd *self, int key)
|
||||
case 'f':
|
||||
data->template = xstrdup("find-window '%%'");
|
||||
break;
|
||||
case '\'':
|
||||
data->template = xstrdup("select-window -t ':%%'");
|
||||
data->prompts = xstrdup("index");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user