Wrap when copy mode is used for output, from Balazs Kezes.