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

Diff for /src/usr.bin/tmux/window.c between version 1.197 and 1.198

version 1.197, 2017/05/31 10:15:51 version 1.198, 2017/06/04 09:02:36
Line 29 
Line 29 
 #include <time.h>  #include <time.h>
 #include <unistd.h>  #include <unistd.h>
 #include <util.h>  #include <util.h>
   #include <vis.h>
   
 #include "tmux.h"  #include "tmux.h"
   
Line 408 
Line 409 
 window_set_name(struct window *w, const char *new_name)  window_set_name(struct window *w, const char *new_name)
 {  {
         free(w->name);          free(w->name);
         w->name = xstrdup(new_name);          utf8_stravis(&w->name, new_name, VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL);
         notify_window("window-renamed", w);          notify_window("window-renamed", w);
 }  }
   

Legend:
Removed from v.1.197  
changed lines
  Added in v.1.198