Swaps out boolean values for enums when enabling and disabling echo for
the terminal