[BACK]Return to input.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/input.c between version 1.178 and 1.179

version 1.178, 2020/05/16 16:44:54 version 1.179, 2020/05/21 07:24:13
Line 942 
Line 942 
 void  void
 input_parse_pane(struct window_pane *wp)  input_parse_pane(struct window_pane *wp)
 {  {
         struct evbuffer *evb = wp->event->input;          void    *new_data;
           size_t   new_size;
   
         input_parse_buffer(wp, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb));          new_data = window_pane_get_new_data(wp, &wp->offset, &new_size);
         evbuffer_drain(evb, EVBUFFER_LENGTH(evb));          input_parse_buffer(wp, new_data, new_size);
           window_pane_update_used_data(wp, &wp->offset, new_size, 1);
 }  }
   
 /* Parse given input. */  /* Parse given input. */
Line 960 
Line 962 
   
         window_update_activity(wp->window);          window_update_activity(wp->window);
         wp->flags |= PANE_CHANGED;          wp->flags |= PANE_CHANGED;
         notify_input(wp, buf, len);  
   
         /* NULL wp if there is a mode set as don't want to update the tty. */          /* NULL wp if there is a mode set as don't want to update the tty. */
         if (TAILQ_EMPTY(&wp->modes))          if (TAILQ_EMPTY(&wp->modes))

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.179