Terminal Guide

Scroll Left (SL)

ESC1B[5B amount 20 @40
xterm
amount = 1

Removes amount columns (over the whole height of the current scrolling region) from left-most column to the right. The remaining columns to the right are shifted left and space from the right margin is filled with empty cells.

If the current cursor position is outside of the current scroll region it does nothing.

If the current scroll region does not include the left-most column of the terminal this sequence does nothing.

If amount is greater than the remaining number of columns in the scrolling region it is adjusted down.

In left and right margin mode the margins are respected; columns are only scrolled in the scroll region.

If the cell movement splits a multi cell character that character is cleared, by replacing it by spaces, keeping its current attributes.

The cleared space is colored according to the current SGR state.

If amount = 0 is adjusted to 1.

The Cursor position is not changed.

xterm ( ✓ )

🛆 As of xterm 346 split multi column cells are erased using the current SGR state instead of keeping the background color.