UI: Select text from console logs without lineno/timing columns

I often find myself needing to copy bits of build output into conversations, usually when debugging failures with other people. This is not so easy on Drone 2. (I’m afraid I can’t remember how this worked on Drone 1.)

This is what ends up in my system clipboard buffer:

 _____ 
1s
6< moo >
1s
7 ----- 
1s
8        \   ^__^
1s
9         \  (oo)\_______
1s
10            (__)\       )\/\
1s
11                ||----w |
1s
12                ||     ||

My current workaround is to click the Download button, then remove all terminal control characters (colours, etc.) with a Perl one-liner. This can be a bit of a faff.

The GitHub UI does a similar thing with line numbers, however selected text always elides them. Would it be possible to do the same in the Drone 2 UI?

The screenshot above was generated using drone/drone:2.0.1 and Firefox 91.0a1 (build ID 20210701211644) running on macOS.

1 Like

Also reproduces on 2.0.4.