Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Reverse operation #5

Closed
pidgeon777 opened this issue Dec 5, 2022 · 1 comment
Closed

[Feature] Reverse operation #5

pidgeon777 opened this issue Dec 5, 2022 · 1 comment

Comments

@pidgeon777
Copy link

Once a tree has been created, it would be nice to have a function which transforms it back to the original format.

@riddlew
Copy link
Owner

riddlew commented Dec 5, 2022

This has just been added a few hours ago in #2 (readme has not been updated to reflect it yet). :AsciiTreeUndo will convert a tree back to original text based on your settings. Currently if the tree was created with settings different than your settings (such as converting a tree with a branch depth of 8 when your settings are set to 2), you will need to specify it in the args when undoing it (same args as when converting text to tree, I plan to eliminate the need to do this in the future).

@riddlew riddlew closed this as completed Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants