ocp-index : Update the margin for Format according to the size of the terminal.