Skip to content

Add Continuous Mode (-r) to Run Train Continuously#87

Open
Umair-khurshid wants to merge 1 commit intomtoyoda:masterfrom
Umair-khurshid:continuous-train
Open

Add Continuous Mode (-r) to Run Train Continuously#87
Umair-khurshid wants to merge 1 commit intomtoyoda:masterfrom
Umair-khurshid:continuous-train

Conversation

@Umair-khurshid
Copy link
Copy Markdown

This pull request adds a new feature to the sl command, allowing the train animation to run continuously when the -c option is used.

Changes

  • Added a new command-line option -r.
  • Modified the main animation loop to run continuously if -r is specified.

Usage

To run the train continuously, use:
sl -r
To quit running the train, press:
q

Reason

This feature provides a fun way to keep the sl animation running without manual intervention.

Please review the changes and let me know if any adjustments are needed. Thank you!

@Umair-khurshid
Copy link
Copy Markdown
Author

@mtoyoda Hi, can you please look into this?

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

Successfully merging this pull request may close these issues.

1 participant