Rename terminal to terminal_io