Add Ada.Text_IO.Terminal and implement terminal handling