Skip to content

load no longer works when used inside onecmd_plus_hooks #224

@tessebier

Description

@tessebier

As of 0.7.5 load uses cmdqueue, which means running load inside onecmd_plus_hooks no longer works as nothing processes the cmdqueue in that scenario. Ditto for any of the functions which call onecmd_plus_hooks like run().

If do_eos were to return self._STOP_AND_EXIT, and a self._cmdloop() were added back to the end of do_load(), it would work as it used to.

Not sure if such a change is acceptable and compatible with the intent of switching to use cmdqueue to begin with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions