terminfo_c now contains the trie, button map, and stream buffer connected to the terminal.