iafan / goplayspace

Advanced Go Playground frontend written in Go, with syntax highlighting, turtle graphics mode, and more
https://goplay.space
Other
981 stars 63 forks source link

Redo doesn't work with native keyboard shortcut #10

Closed julen closed 7 years ago

julen commented 7 years ago

In Mac, undo and redo shortcuts are Cmd+Z and Cmd+Shift+Z respectively, however goplayspace only obeys to the former. The latter does nothing, and I've seen redo works via Cmd+Y. I'm aware you are implementing a custom undo/redo stack, so this is probably something related to keyboard shortcut binding.