magicant / yash-rs

Reimplementation of yash, an extended POSIX shell
64 stars 3 forks source link

Report job status on each prompt #407

Closed magicant closed 1 week ago

magicant commented 2 weeks ago

At each prompt, an interactive shell should report the status of the jobs that have changed since the last report.

The current plan is to add an `Input' decorator to do the reporting. Implementing this feature directly in the read-eval loop would not be appropriate, as it would clutter the loop with code fragments specific to the interactive shell.

magicant commented 2 weeks ago

It might be helpful to document why this is not implemented in the read-eval loop in the documentation comment for the interactive_read_eval_loop function (which is being implemented at the time of writing).