Prevent CSI parameter overflow
Backporting of 65619df, for old parser Fix a problem when parameter length exceeds VT100CSIPARAM_MAX ex. echo -en '\033[;;;;;;;;;;;;;;;;'
Fix hanging problem around window resize sequences ex. printf "\x1b[4;2147483630;2147483630t"
Style improvements