changed <return> behavior when in text mode