Commit a9b5202d authored by Steve Bennett's avatar Steve Bennett
Browse files

Implement onleave/$onleave



New, experimental feature that allows commands to run
when a proc or interpreter exits.

If the $onleave variables exists at proc or interp exit,
it is treated as a list of scripts to evaluate.

The [onleave] command is a helper to add scripts to $onleave.

See tests/onleave.test

Signed-off-by: default avatarSteve Bennett <steveb@workware.net.au>
parent 91809091
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment