]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly get out of origin mode if the cursor has to move outside of it.
authored <ed@FreeBSD.org>
Sat, 26 Sep 2009 15:07:11 +0000 (15:07 +0000)
committered <ed@FreeBSD.org>
Sat, 26 Sep 2009 15:07:11 +0000 (15:07 +0000)
commitba94d1a005032941ea59b2f361257e1cbd4fa6bd
tree0e56b4e4e65e7856c15a34b3a6341fef11e59686
parenta2eab704dfd8ad56039a95219c7462c5d84c721e
Properly get out of origin mode if the cursor has to move outside of it.

In some cases events may occur that move the cursor outside the
scrolling region while in origin mode, which is normally not possible.
Events like these include:

- Alignment test.
- Restore cursor.

Properly switch off origin mode in these cases.

MFC after: 1 month
sys/teken/teken_subr.h