Clean up z-term.h

Moves a typedef.