mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-24 09:50:24 +00:00
According to tcell documentation, Rune() should only be used for KeyRune events. Otherwise its return value is not guaranteed and should not be relied upon. This fixes issue #2947: Esc key not working on Windows, since tcell sends lone Esc key event with rune == 0 on Unix but with rune == 27 (the keycode) on Windows. |
||
|---|---|---|
| .. | ||
| action | ||
| buffer | ||
| clipboard | ||
| config | ||
| display | ||
| info | ||
| lua | ||
| screen | ||
| shell | ||
| util | ||
| views | ||