x1unix / go-playground

Better Go Playground powered by Monaco editor

Home Page:https://goplay.tools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copy the output

isaacwein opened this issue Β· comments

is there a way to copy the output?
And why is there an option to save it as an image?
And what the image that got saved?
image

saved image πŸ‘‡
download

@isaacwein

is there a way to copy the output?

  • on computer - select text with mouse and use Ctrl+C (or cmd+C)
  • on tablet/phone - there is a copy button that appear when you click on output:
image

And what the image that got saved?

Because terminal is based on xterm.js which is hardware-accelerated and rendered on Canvas.
Hardware acceleration is implemented for shell escape symbols as control commands, colors, etc.

You can switch back to DOM implementation in the Settings window.

image