They aren’t the same thing. TUI refers to interactive ncurses-like interfaces. Vim has a TUI, ls does not
I’m fairly certain this terminology has been around since at least the early aughts.