Say I have an Emacs window (i.e. a subdivision of what Emacs calls a frame) running an M-x ansi-term buffer (e.g. running zsh) with that is ~500 pixels wide. I then run several shell commands and the output is wrapped to fit within those 500 pixels.
Say that I now make this window or buffer wider (e.g. 1000 pixels), maybe because I kill other windows in the frame, giving more space to my ansi-term window.
Is there any way to get older output in my ansi-term window to resize to take advantage of the new window size? (i.e. making lines wider and re-wrapping them according to the new window size)?