Function ansi_control_codes::control_sequences::SLL
source · pub fn SLL(n: u32) -> ControlFunction
Expand description
Set Line Limit.
If the DEVICE COMPONENT SELECT MODE (DCSM
) is set to PRESENTATION, SLL
is used to
establish at character position n
in the active line (the line that contains the active presentation position) and
lines of subsequent text in the presentation component the position to which the active presentation position will
be moved by subsequent occurrences of CARRIAGE RETURN (CR
), or NEXT LINE
(NEL
) in the data stream if the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD
)
is equal to MovementDirection::Opposite
. In the case of a device without data component, it is also the position
beyond which no implicit movement of the active presentation position shall occur.
If the DEVICE COMPONENT SELECT MODE (DCSM
) is set to DATA, SLL
is used to establish at
character position n
in the active line (the line that contains the active data position) and lines of subsequent
text in the data component the position beyond which no implicit movement of the active data position shall occur.
It is also the position in the data component to which the active data position will be moved by subsequent
occurrences of CR
or NEL
in the data stream, if the parameter value of
SELECT IMPLICIT MOVEMENT DIRECTION (SIMD
) is equal to MovementDirection::Opposite
.
The established position is called the line limit position and remains in effect until the next occurrence of SLL
in the data stream.