version 1.17, 2013/03/24 09:19:51 |
version 1.18, 2013/03/24 09:23:00 |
|
|
format_add(ft, "pane_start_path", "%s", wp->cwd); |
format_add(ft, "pane_start_path", "%s", wp->cwd); |
if ((cwd = get_proc_cwd(wp->fd)) != NULL) |
if ((cwd = get_proc_cwd(wp->fd)) != NULL) |
format_add(ft, "pane_current_path", "%s", cwd); |
format_add(ft, "pane_current_path", "%s", cwd); |
if ((cmd = osdep_get_name(wp->fd, wp->tty)) != NULL) |
if ((cmd = get_proc_name(wp->fd, wp->tty)) != NULL) |
format_add(ft, "pane_current_command", "%s", cmd); |
format_add(ft, "pane_current_command", "%s", cmd); |
|
|
format_add(ft, "cursor_x", "%d", wp->base.cx); |
format_add(ft, "cursor_x", "%d", wp->base.cx); |