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

Showing time in prompt #197

Closed
volkerkarle opened this issue Apr 3, 2020 · 2 comments · Fixed by #198
Closed

Showing time in prompt #197

volkerkarle opened this issue Apr 3, 2020 · 2 comments · Fixed by #198

Comments

@volkerkarle
Copy link

Hi there,
I wondered if something like

OhMyREPL.input_prompt!(Dates.format(Dates.now(), "HH:MM:SS")*">", :green)

could be called dynamically such that my prompt shows the actual time? This would be very useful to have an idea about the run time of commands without the need of using a timer all the time.

Best,

v.

@KristofferC
Copy link
Owner

Sure, could you try with #198

@volkerkarle
Copy link
Author

That looks great! Thanks a lot!

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 a pull request may close this issue.

2 participants