version 1.96, 2013/03/21 16:13:24 |
version 1.97, 2013/03/21 16:14:09 |
|
|
case 'P': |
case 'P': |
if (window_pane_index(wp, &idx) != 0) |
if (window_pane_index(wp, &idx) != 0) |
fatalx("index not found"); |
fatalx("index not found"); |
xsnprintf( |
xsnprintf(tmp, sizeof tmp, "%u", idx); |
tmp, sizeof tmp, "%u", idx); |
|
ptr = tmp; |
ptr = tmp; |
goto do_replace; |
goto do_replace; |
case 'S': |
case 'S': |
|
|
*optr = '\0'; |
*optr = '\0'; |
|
|
ft = format_create(); |
ft = format_create(); |
|
format_client(ft, c); |
format_session(ft, s); |
format_session(ft, s); |
format_winlink(ft, s, wl); |
format_winlink(ft, s, wl); |
format_window_pane(ft, wp); |
format_window_pane(ft, wp); |