Return to spawn.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.1, 2019/04/17 14:37:48 | version 1.2, 2019/04/28 20:05:50 | ||
---|---|---|---|
|
|
||
/* Create an environment for this pane. */ | /* Create an environment for this pane. */ | ||
child = environ_for_session(s, 0); | child = environ_for_session(s, 0); | ||
if (sc->environ != NULL) | |||
environ_copy(sc->environ, child); | |||
environ_set(child, "TMUX_PANE", "%%%u", new_wp->id); | environ_set(child, "TMUX_PANE", "%%%u", new_wp->id); | ||
/* | /* |