10000 [Feature]: Print effects · Issue #299 · sepandhaghighi/art · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Feature]: Print effects #299

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

Open
sepandhaghighi opened this issue Apr 13, 2025 · 1 comment
< 8000 div class="sticky-content">
Open

[Feature]: Print effects #299

sepandhaghighi opened this issue Apr 13, 2025 · 1 comment
Assignees
Milestone

Comments

@sepandhaghighi
Copy link
Owner

Describe the feature you want to add

Add mode and delay parameters to the tprint function

Describe your proposed solution

  • mode:

    • "instant": prints everything at once (default, for backward compatibility).

    • "line": prints line by line with delay between lines.

    • "char": prints character by character with delay between characters.

  • delay:

    • Time (in seconds) to wait between lines or characters, depending on mode.
tprint("Hello", mode="line", delay=0.2)
tprint("World", mode="char", delay=0.05)

Describe alternatives you've considered, if relevant

No response

Additional context

No response

@sepandhaghighi
Copy link
Owner Author

@sadrasabouri 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0