better handling of multiline output in --raw view