Nicholas Marriott <nicholas.marri...@gmail.com> writes:

> --- status.c  15 Nov 2011 23:34:12 -0000      1.81
> +++ status.c  27 Nov 2011 03:09:56 -0000
> @@ -1156,11 +1156,8 @@ status_prompt_key(struct client *c, int 
>               /* Find the separator at the end of the word. */
>               while (c->prompt_index != size) {
>                       c->prompt_index++;
> -                     if (strchr(wsep, c->prompt_buffer[c->prompt_index])) {
> -                             /* Go back to the word. */
> -                             c->prompt_index--;
> +                     if (strchr(wsep, c->prompt_buffer[c->prompt_index]))
>                               break;
> -                     }
>               }
>  
>               c->flags |= CLIENT_STATUS;

Yep, that works for me. Thanks!

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, 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-novd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to