Fix terminal timeout when pressing escape

Signed-off-by: Austin M. Matherne <AustinMatherne@Gmail.com>