From what I understand, the "traditional" behaviour of terminal emulators is to chop long lines when the window is made narrower, while some terminals rewrap their contents on resize.
Is it possible for a Bash script (or as a last resort, a C program) to detect which of the two behaviours the terminal uses?