Whoops,fixed, thanks!
On Fri, Jul 08, 2011 at 08:46:08AM +0100, Thomas Adam wrote:
> Since the change in list-keys to make it copy and pastable in to a tmux
> config file, the flags field which determines if the key binding is
> repeatable, etc., prints garbage if the binding in question has no flags.
> ---
> trunk/cmd-list-keys.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/trunk/cmd-list-keys.c b/trunk/cmd-list-keys.c
> index c88bea2..bdf41ad 100644
> --- a/trunk/cmd-list-keys.c
> +++ b/trunk/cmd-list-keys.c
> @@ -54,6 +54,8 @@ cmd_list_keys_exec(struct cmd *self, struct cmd_ctx *ctx)
> return (cmd_list_keys_table(self, ctx));
>
> width = 0;
> + memset(flags, '\0', sizeof flags);
> +
> SPLAY_FOREACH(bd, key_bindings, &key_bindings) {
> key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
> if (key == NULL)
> --
> 1.7.4.1
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> tmux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users