Everytime I see this project I'm flabbergasted (in a very good way) that we can achieve this.
I wish Node was portable, it would definitely be far more superior than GO CLIs that lacks this kind of features.
A sibling comment points at https://github.com/charmbracelet/bubbletea as a Go alternative with a similar architecture