warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.25k stars 369 forks source link

Show duration of running commands #1493

Open ForbesLindesay opened 2 years ago

ForbesLindesay commented 2 years ago

Discord username (optional)

ForbesLindesay#6803

Describe the solution you'd like?

I love that Warp shows the runtime of each command after it finishes. It would be great if it could also show the same information while the command is running. This cold be either:

- The duration of the command so far, which would update over time. This may make sense to only display once the command has been running for over 10 seconds.
- The timestamp for when the command started, so I can figure out how long it's been running for.

Is your feature request related to a problem? Please describe.

1. Sometimes I know roughly how long I expect a command to take, but forget to note when it started, so I'm left with no idea how long to expect it to run for.
2. Sometimes I'm not confident that the command is running. If it doesn't output anything to stdout/stderr until the command finishes, it feels like there's a lack of visual feedback.

Additional context

No response

Warp Internal (ignore) - linear-label:efcea52d-0ab4-4a92-a41b-93c3e244f0a0

No response

mnapoli commented 2 years ago

Hey, I'm super sorry for derailing the topic 😃 but I'm very curious:

I love that Warp shows the runtime of each command after it finishes.

Where do you see the runtime of each command (after it's completed)?

That's a feature I loved from zsh/pure but I lost that moving to Warp. When some commands take a long time I'd love to see how many seconds they actually took. It seems the feature already exists?

elviskahoro commented 2 years ago

Great idea @ForbesLindesay @mnapoli it shows in the prompt. Note this only works when you're using the built in prompt (not enable custom prompt)

mnapoli commented 2 years ago

Oh shoot, ok thanks!

ItamarGronich commented 6 months ago

👍🏼 from me too. would love to see realtime clock for how long the command has been running for.

smol-ninja commented 5 months ago

I would love this feature as well. It would be super useful to keep track of commands with lengthy execution duration.

kaz1ngton commented 4 months ago

Real time clock sounds very useful for me as well 👍

softwarebygabe commented 1 month ago

Would love this feature as well! When I run unit tests for projects or other potentially multi-minute processes I have wished for a running timer so I can gauge if something is almost done or if it's taking longer than it should.

z-budhirajamadhav commented 18 hours ago

any update here?