2026-07-11 18:23:01 +07:00
|
|
|
use crate::app::state::rest::AppStateRest;
|
|
|
|
|
|
|
|
|
|
pub fn handle_bash_submit(state: &mut AppStateRest, command: String) {
|
|
|
|
|
if !command.is_empty() {
|
2026-07-11 21:25:30 +07:00
|
|
|
let _ = crate::app::bgbash::job::spawn_bash_job(command);
|
2026-07-11 18:23:01 +07:00
|
|
|
state.dirty = true;
|
|
|
|
|
}
|
|
|
|
|
}
|