mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
src/env_dispatch: add clarifying comment for setenv
This commit is contained in:
@@ -537,6 +537,8 @@ fn apply_non_term_hacks(vars: &EnvStack) {
|
||||
|
||||
// Initialize the terminal subsystem
|
||||
fn init_terminal(vars: &EnvStack) {
|
||||
// The current process' environment needs to be modified because the terminfo crate will
|
||||
// read these variables
|
||||
for var_name in CURSES_VARIABLES {
|
||||
if let Some(value) = vars
|
||||
.getf_unless_empty(var_name, EnvMode::EXPORT)
|
||||
|
||||
Reference in New Issue
Block a user