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

can you add a clear button

ljhui opened this issue · comments

nice tool, I like it.
I'd like there is a clear button that do what its name says. everytime after I write a short program and start to write another, I have to press ctrl+A to select all code and press backspace to sweep it. certainly, I also can refresh the webpage or create new template use drop-arrow button, but a clear button is more direct. I don't like
preset code, so I'd like a clear button, maybe others like a reset button.

@ljhui implemented in #93 and will be shipped in the next stable release.