Made sure 'inp' was set to something if a command such as Ctrl+Z was entered