There's two different levels to this imho, a tui is usually still a non-bloated self-contained binary that can run on windowless server envirorments just fine.

TUIs can have GUI like affordances UX/UI wise regardless of if they use the terminal as the contract or a window server/gui lib