Re: Bug when creating new-window -k -c /tmp

2013-11-23 Thread Nicholas Marriott
Thanks for the report. I think it is better to move the -k section of code after the -c section instead so I've done that. On Fri, Nov 22, 2013 at 04:44:09PM +, Jo?o Crist?v?o wrote: > Ok, it seems a simple: > > if (s->curw != NULL) { > format_winlink(ft, s, s->curw); > format_window

Re: Bug when creating new-window -k -c /tmp

2013-11-22 Thread João Cristóvão
Ok, it seems a simple: if (s->curw != NULL) { format_winlink(ft, s, s->curw); format_window_pane(ft, s->curw->window->active); } In line 115 should be enough... don't apply the window keys if no key is available. The rest works as expected. Cheers 2013/11/22 João Cristóvão : > Hi, > > I

Bug when creating new-window -k -c /tmp

2013-11-22 Thread João Cristóvão
Hi, I've been using tmux for some time now, I'm a big fan! Today, however, I think I stumbled upon a bug, easy to reproduce: tmux new-session -Ad -s dev tmux new-window -k -c /tmp -t dev:1 tmux attach-session -t dev It reports "no sessions", as the server has crashed. The problem lies with usi