Hey,

In regards to my djOS project, I am looking to implement windows (draggable, app-running windows). I can draw windows and reposition them etc. but I am not sure how to get them to run a program?

I am assuming it would use term.redirect() but if I redirect to the window from the original terminal things get messy. Any ideas/solutions?

Thanks.


Worked out that using term.redirect(window_name) does redirect any shell.run() programs which is what I tried in the first place but instead of running a separate shell I was running a program that did nothing so nothing happened anyway. RIP. Silly mistake.