Hide/show prompt also on pycon blocks