Fix error from typing into wrong terminal