Avoid error on tab insertion when within console