handle sgr like all the other parsing elements
add length so sgr parsing elements