I want to disable the interactive line wrapping that iterm does in my terminal application.
I can run
$ python -c 'print "\x1b[?7l"'
to disable line wrapping on output, so long lines like
$ python -c 'print "asdf"*100'
don't immediately get line wrapped and instead are cut off, but once I interactively change the window width to be smaller that line still wraps. I'd like behavior like vim has when in
set nowrap mode - not even a flicker of a wrap.
This question is similar to Disable line wrapping for output in the Terminal, but that's asking about scrolling.