summaryrefslogtreecommitdiffstats
path: root/src/compose/environment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compose/environment.rs')
-rw-r--r--src/compose/environment.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compose/environment.rs b/src/compose/environment.rs
index 18d59c4..151c7a5 100644
--- a/src/compose/environment.rs
+++ b/src/compose/environment.rs
@@ -14,6 +14,7 @@ use std::collections::HashMap;
/// bins - A lookup table for +x files, constructed from the $PATH
/// cs - Indication of callstack level, helpful for recursively dealing with
/// aliases
+/// fc - Force the capture of stdout (for internal poems)
///
/// # Examples
/// ```
@@ -29,6 +30,7 @@ pub struct Environment {
pub aliases: HashMap<String, String>,
pub bins: Vec<String>,
pub cs: u8,
+ pub fc: bool,
}
impl Environment {
@@ -38,6 +40,7 @@ impl Environment {
aliases: HashMap::new(),
bins: Vec::new(),
cs: 0,
+ fc: false,
}
}
}