How to turn off word wrap in iTerm2?

Beast_Code picture Beast_Code · Mar 10, 2015 · Viewed 22.4k times · Source

How to turn off word wrap in iTerm2? Is there a specific command to do so or in the preferences? I am trying to avoid having the text run down to the next line. I would rather scroll side to side.

Answer

Mike D picture Mike D · Aug 17, 2016

lifted directly from https://apple.stackexchange.com/a/210666/115119

Props to @michid

Disable line wrapping:

tput rmam

Enable line wrapping:

tput smam