Fix non-working raw escape bindings after restarting the screen by dmaluka · Pull Request #3468 · micro-editor/micro (original) (raw)
When we temporarily disable the screen (e.g. during RunInteractiveShell) and then enable it again, we reinitialize tcell.Screen from scratch, so we need to register all previously registered raw escape sequences once again. Otherwise raw escape bindings stop working, since the list of raw escape sequences of this newly create tcell.Screen is empty.
Fixes micro-editor#3392