A simple readline in a Linux CLI or TUI

I think this framework may be a good choice:

https://github.com/jesseduffield/gocui

This is the CUI (or TUI) used by the author of lazygit.

In the last days I studied the Bubble Tea framework but eventually I dropped it.
Now I’m going to study this other one, gocui, which seems to be more convenient for me.

Bubble Tea has a very good tool for reading the user’s input. But in the end I found that that framework is not suitable for my project.

I admire lazygit and its framework. I hope it will work for me too.

Actually, goatplayer doesn’t have a real TUI appearance… My intention it to reshape it like a real TUI program: it must work in a small terminal and it must be more similar to the TUI programs that people use and like.

Does anyone know the gocui framework?