history is now separated from ps.rs, create valid_pbuf.rs to be used across different modules

This commit is contained in:
2025-01-11 16:39:19 -05:00
parent ca639db826
commit d40f4bece3
5 changed files with 136 additions and 118 deletions

View File

@ -2,10 +2,13 @@ pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub mod session;
pub mod commands;
pub mod history;
pub mod ps;
pub mod rc;
pub mod vm;
mod valid_pbuf;
#[inline]
pub fn shell_error<E: core::fmt::Display>(err: E) {
color_print::ceprintln!("<bold,r>[!]:</> {err}")