Skip to content

renderers: Rework input handling a little

Ray Strode requested to merge rework-renderer-terminal-input-handling into main

We don't need to flush the terminal input buffer on key events from the renderers, because the terminal does that itself.

Also, we should disable the terminal input when a /dev/input device is added instead of relying on it happening the next flush period.

Finally, we should make sure the terminal gets reenabled on close, just so we clean up after ourselves.

Merge request reports