[PATCH 1/1] Correctly handle flags being empty in list-keys
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 tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: tmux-double-click-on-status-line-opens-new-window.patch
this is a great idea. i've been interested in making tmux "tablet" friendly Heh well totally (: in various ways, and my current solution (dwm + xdotool + shell scripts that call tmux) is totally hack. i'd like to see this even expanded a bit so that one could in their .tmux.conf bind functions to mice clicks (assocaited with regions, e.g., bind left-click-statusbar neww... current mouse input is somewhat shaky, there seems to be quite a bit of indeterminism in what mouse actions trigger what events, albeit on different machines. What i wanted to do is implement a tail queue of recent mouse events providing a deeper back record that can be traversed with some degree of fuzziness so stuff like multi-button actions, focus tracking and even 'terminal gestures' could be quite easily put on top. Not sure when i'll get around to test-implement, very likely will take till after my Fluid Dynamics exam on 5th of August - terminal multiplexing _is_ important, so is getting my engineering diploma over the finishing line ^^ #regards/marcel p.s.: this tmux 'newskool text mode desktop thang' is ever so awesome, aint it? simply loving it. folks what about a lil' logo contest? ;D <>-- 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 tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: [PATCH 1/1] Correctly handle flags being empty in list-keys
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 > tmux-users@lists.sourceforge.net > 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 tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users