pixel icon indicating copy to clipboard operation
pixel copied to clipboard

Improve typing example

Open zrcoder opened this issue 2 years ago • 1 comments

I have seen this wonderful example: Typing text on the screen, but still needs some improvement:

  • show cursor(this is done in this example: https://github.com/faiface/pixel-examples/tree/master/typewriter)
  • move the cursor when the mouse button or arrow keys clicked
  • delete character when pressed backspace or delete key
  • show line numbers, just like a code input field, like below:
image

zrcoder avatar Oct 07 '21 16:10 zrcoder

I found games of Codemonkey, there is a code text field on the right half of screen, like below:

image

Codemonkey's games are written in js and html, maybe easy to support such a widget, can Pixel support one?

zrcoder avatar Oct 08 '21 03:10 zrcoder