nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

Add recovers to the Commander's KeyStroke and KeyPress methods #118

Closed nelsam closed 6 years ago

nelsam commented 6 years ago

Since our input handler is overrideable, we shouldn't trust it to never panic. A single poorly written input handler plugin could cause data loss in the worst cases, and we'd rather be able to limp along than lose data.

Type

Tests

I have tested locally against:

I have included automated tests: