Keys have to be separated into layers: a modal window takes the input before the screen beneath it.
In the source's words
A modal layer now claims input before the screen below it.
Card
How to build a good TUI in 2026, and on which framework (Textual, OpenTUI, Ratatui, Bubble Tea, Ink)
Address
stacks.jakubdudek.com/tui-frameworks/c25
In a document: [[tui-frameworks#c25]]
JSON