This is really cool! It looks like Marco and I had the same idea around the same time, but we picked different TUI libraries to wrap. :-D
See also: https://git.sr.ht/~kerrick/ratatui_ruby