chiark / gitweb /
terminal/screen: add cursor rendering
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 12:42:42 +0000 (14:42 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 13:57:00 +0000 (15:57 +0200)
commitcad8fe9a2b2ac340ef69233dd32e1bb1e45dae48
treefbeed1b86c186faa0bf6ab18f7509fa00ecd49a3
parent2ea8d19b210b62a02ebcb38f035e074dcba66426
terminal/screen: add cursor rendering

This is the most simple way to render cursors: flip attr->inverse of the
cursor cell. This causes the background and foreground colors of the
cursor-cell to be inversed.

Now that we render cursors ourselves, make subterm not call into the
parent terminal to render cursors.
src/libsystemd-terminal/subterm.c
src/libsystemd-terminal/term-screen.c