News for hackers. Stuff that matters.
Re:Show HN: Warp, a Rust-based terminal by losvedir on Tuesday April 05, 2022 @07:43PM (#30926595)
As someone who uses the terminal a lot and is not allergic to closed source tools or even telemetry necessarily, I'd be in your target market, I think.

But one thing that your landing page has left me confused about: you have two examples like this:

    cargo +stable fmt
    cargo +stable check
    cargo +stable tests/
presumably to show off multi-cursors. But in neither example does the person appear to hit "Enter", which is the part I'm really wondering about. Like... what happens? If you run three separate commands like that at the same time are they in separate subshells or implicitly `&&`'ed together or something else? What's the return status if either `check` or `tests` fails? If `check` fails but `tests` pass... is the check failure's exit status lost? What does (e.g. in fish) `echo $status` say afterwards?

Multi-cursors and multi-line editing is definitely cool, but the example there totally doesn't match my mental model of a how a shell works, so it leaves me perplexed and confused how warp actually works.

Re:Show HN: Warp, a Rust-based terminal by zhengt on Tuesday April 05, 2022 @08:01PM (#30926736)
Assuming you're on a shell that supports bracketed paste, it'll treat it as one block and execute all of the commands one after the other. The exit status will be that of the last command run.