2 space indent and idempotent preventInputEvents