Text this: Programmable supramolecular chirality in non-equilibrium systems affording a multistate chiroptical switch