Hacker News new | ask | show | jobs
by nox100 917 days ago
This looks really interesting!

My first thought is, how often does all the structure you added get in the way? With plain text (most terminals), it's easy to grab any chunk of text. With structured text, UI elements often get in the way. As an example, in Chrome's devtools console, it's frustrating that

    for (let i = 0; i < 5; ++i) { console.log(i); }
produces this

    0   VM45:1
    1   VM45:1
    2   VM45:1
    3   VM45:1 
    4   VM45:1
instead of this

    0
    1
    2
    3
    4
When I try to copy the text. Does Wave run into this kind if issue?
1 comments

I hear you. That is a problem with a lot of (bad) UIs and why I think people love text-UI (because it is harder to screw up). First, I don't want to get rid of the text UI -- you can always render your commands using the traditional terminal interface. We just want to provide an option to display the output in a richer way. I think Github does a good job of this. You can view a file with line numbers and annotations on the side, but copy/paste won't grab that content because of how the HTML is structured. We hope be similarly attentive to things like that (but of course it is still a WIP).