mirror of
https://github.com/tmux/tmux.git
synced 2025-12-15 18:55:33 +00:00
Portability fix-ups
* Ammend the Makefile to include newer commands. * "compat/vis.h" versus <vis.h> * Removal of cmd-send-prefix.c and cmd-show-buffer.c * osdep-* for processes. BUG-ID: N/A
This commit is contained in:
2
cmd.c
2
cmd.c
@@ -1333,7 +1333,7 @@ cmd_get_default_path(struct cmd_q *cmdq, const char *cwd)
|
||||
if (c != NULL && c->session == NULL && c->cwd != NULL)
|
||||
root = c->cwd;
|
||||
else if (s->curw != NULL)
|
||||
root = get_proc_cwd(s->curw->window->active->fd);
|
||||
root = osdep_get_cwd(s->curw->window->active->fd);
|
||||
else
|
||||
return (s->cwd);
|
||||
skip = 0;
|
||||
|
||||
Reference in New Issue
Block a user