interpret line-clearing escape codes

[#72038932]