Move the cursor right
amount is greater than the maximum move distance then it is internally adjusted to the maximum. This sequence will not scroll the screen or scroll region. If
amount is 0, adjust it to 1.
This unsets the pending wrap state without wrapping.
If left and right margin mode is set and a right margin is set and the cursor is on or left of the right-most column of it then the cursor may move right only until it reaches the right-most column of current scroll region.
If left and right margin mode is not set or a right margin is not set or the cursor is right of right-most column of current scroll region it may move right until the right-most column of the screen.