Each window displays a cursor, this is rendered as a character in the opposite colour to what it would usually be (i.e. normally a dark rectangle). The cursor is used to show the user where any characters they type will be inserted, each window has a separate cursor position and buffers which are not being displayed `remember' the last position of their cursor.
(cursor-pos)
=> #<pos 14 5638>
Note that the components of pos are copied, any subsequent modification of pos will not affect the cursor.
If the line number of pos points to a non-existent line the cursor
won't be moved and nil will be returned.
Go to the first, previous, next, last section, table of contents.