mirror of
https://github.com/tmate-io/tmate.git
synced 2025-03-15 00:29:20 +01:00
Merge branch 'obsd-master'
This commit is contained in:
commit
48a46e066e
3
format.c
3
format.c
@ -873,8 +873,7 @@ format_defaults_pane(struct format_tree *ft, struct window_pane *wp)
|
||||
format_add(ft, "pane_synchronized", "%d",
|
||||
!!options_get_number(&wp->window->options, "synchronize-panes"));
|
||||
|
||||
if (wp->tty != NULL)
|
||||
format_add(ft, "pane_tty", "%s", wp->tty);
|
||||
format_add(ft, "pane_tty", "%s", wp->tty);
|
||||
format_add(ft, "pane_pid", "%ld", (long) wp->pid);
|
||||
if ((cwd = osdep_get_cwd(wp->fd)) != NULL)
|
||||
format_add(ft, "pane_current_path", "%s", cwd);
|
||||
|
Loading…
Reference in New Issue
Block a user