fix terminal timeout when pressing escape with PowerLine