prova così:

codice:
<textarea name="textarea" cols="50" onKeyUp="if (this.value.length%80==0) this.value+='\n';">