Emulator: use atexit handler to restore terminal state
Emulator: use atexit handler to restore terminal state

jbush001/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor