rename Terminal to TermBuffer