mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
Adjust OpenBSD patchset 1083 to the portable version.
This commit is contained in:
parent
2ce636a315
commit
b58d7f78a1
2
format.c
2
format.c
@ -389,7 +389,7 @@ format_window_pane(struct format_tree *ft, struct window_pane *wp)
|
||||
format_add(ft, "pane_start_command", "%s", wp->cmd);
|
||||
if (wp->cwd != NULL)
|
||||
format_add(ft, "pane_start_path", "%s", wp->cwd);
|
||||
format_add(ft, "pane_current_path", "%s", get_proc_cwd(wp->pid));
|
||||
format_add(ft, "pane_current_path", "%s", osdep_get_cwd(wp->pid));
|
||||
format_add(ft, "pane_pid", "%ld", (long) wp->pid);
|
||||
format_add(ft, "pane_tty", "%s", wp->tty);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user