[BACK]Return to cmd-list-buffers.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-list-buffers.c between version 1.18 and 1.19

version 1.18, 2013/10/10 12:00:20 version 1.19, 2014/04/02 18:12:18
Line 55 
Line 55 
         while ((pb = paste_walk_stack(&global_buffers, &idx)) != NULL) {          while ((pb = paste_walk_stack(&global_buffers, &idx)) != NULL) {
                 ft = format_create();                  ft = format_create();
                 format_add(ft, "line", "%u", idx - 1);                  format_add(ft, "line", "%u", idx - 1);
                 format_paste_buffer(ft, pb);                  format_paste_buffer(ft, pb, 0);
   
                 line = format_expand(ft, template);                  line = format_expand(ft, template);
                 cmdq_print(cmdq, "%s", line);                  cmdq_print(cmdq, "%s", line);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19