This commit is contained in:
2025-02-18 01:39:26 +00:00
parent 65b0367487
commit ebab50f2c1
24 changed files with 184 additions and 90 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ use crate::std::application::{
Error
};
use crate::println;
use crate::std::render::Window;
use lazy_static::lazy_static;
use spin::Mutex;
use async_trait::async_trait;
@@ -27,7 +28,7 @@ pub struct Tasks;
impl Application for Tasks {
fn new() -> Self { Self {} }
async fn run(&mut self, args: Vec<String>) -> Result<(), Error> {
async fn run(&mut self, window: Option<Window>, args: Vec<String>) -> Result<(), Error> {
if args[0].clone() == String::from("add") {