DECVCCM—Vertical Cursor-Coupling Mode

This control function determines whether the user window pans with the cursor when the cursor moves past the top or bottom border of the user window. DECVCCM is only useful when the height of the current user window is smaller than the page. The cursor must stay on the current page.

Default: Coupled

Format

CSI
9/11
?
3/15
6
3/6
1
3/1
h
6/8
Set: couples the cursor to the display.
CSI
9/11
?
3/15
6
3/6
1
3/1
l
6/12
Reset: uncouples the cursor.

Description

When DECVCCM is set, the cursor is coupled to the display for vertical movement. When the cursor moves past the top or bottom border of the user window, the window pans to keep the cursor in view.

If the cursor moves past the top of the display, the user window pans up. New lines appear at the top of the screen, while lines at the bottom move out of view.

When DECVCCM is reset, the cursor is uncoupled from the display. If the cursor moves past the top or bottom border of the user window, the cursor disappears.