Initial commit for fern

This commit is contained in:
2025-03-02 16:26:28 -05:00
parent 56917524c3
commit a9a9642a2a
40 changed files with 5281 additions and 0 deletions

18
src/shellenv/meta.rs Normal file
View File

@@ -0,0 +1,18 @@
#[derive(Clone,Debug)]
pub struct MetaTab {
last_status: i32
}
impl MetaTab {
pub fn new() -> Self {
Self {
last_status: 0
}
}
pub fn set_status(&mut self, code: i32) {
self.last_status = code
}
pub fn last_status(&self) -> i32 {
self.last_status
}
}