We could change `enableRawMode` to have a closure, and a defer that resets to the original state.
We could change
enableRawModeto have a closure, and a defer that resets to the original state.