Skip to main content

clone_env

Function clone_env 

Source
fn clone_env<S: BuildHasher>(
    env: &HashMap<String, String, S>,
) -> HashMap<String, String>
Expand description

The environment the shell starts with: the seat’s own, plus what the PTY’s terminal type answers to. The seat’s env carries forge’s launch terminal’s TERM, which is not what this shell is attached to.