terminal.hs