I have often found myself wanting that psql automatically switch betweennormal and \x mode depending on the width of the output. Would othersfind this useful?
Attached is a crude demo patch. Enable with \pset expanded auto.