Skip to content

[Feature]: Print effects #299

@sepandhaghighi

Description

@sepandhaghighi

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions