If the cursor is not on the right-most column of the scroll region this is the same as cursor right with amount
= 1
If the cursor is on the right-most column of the scroll region and on a row that is inside the scroll region, the whole left-most column of the scroll region is deleted. The remaining characters are shifted to the left and space from the right margin is filled with spaces. If the cell movement splits a multi cell character that character is cleared, by replacing it by spaces, keeping its attributes.
If the cursor is on the right-most column of the scroll region and on a row that is outside the scroll region, nothing is changed.
The cleared space is colored according to the current SGR state.
Does not change the cursor position.
🛆 If the cursor is in the right-most column of the screen it just scrolls the row that the cursor is on one cell to the left (clearing the right most cell). This unsets the pending wrap state without wrapping.
🛆 As of xterm 346 split multi column character leave glitches and don't keep their background color.