fix flush lines, & delete prompt style

Use cond as elsewhere, which is actually
the switch we need (appart additional if in some places...)