Open
Description
See the attached example where I've tried to get history to work for all three levels in the example provided in the repository.
My interaction is as follows:
TopLevel second say asd
You called a command in SecondLevel with 'asd'. It has access to top_level_attr: 123456789
TopLevel second
TopLevel >> 2ndLevel third say qwe
You called a command in ThirdLevel with 'qwe'. It has access to top_level_attr: 123456789 and second_level_attr: 987654321
We can see that from the top level I have executed 'second say asd' and on the second level I have excuted 'third say qwe'
When restarting the script, I can correctly press arrow up to find both 'second' and 'second say asd'. However, if I go into the second level I only get gibberish like '(X^D', 'q^FX^G' and 'q^B)�q^C}q^D(X '
Here is a zip file of the script and the history file after the first execution
example.zip
Metadata
Metadata
Assignees
Labels
No labels