chiark / gitweb /
terminal/screen: save state in separate object
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 Oct 2014 12:53:18 +0000 (14:53 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 Oct 2014 12:57:19 +0000 (14:57 +0200)
commit3ae49a8fdb7d21c065fcf2b1f7459a32f963c087
tree0a224b8a6f7ad880066e9862ddccd30b1d8b9769
parent9ed6e68e52f399c10d7e4d7f29bb0212c422e9e9
terminal/screen: save state in separate object

Terminal state can be saved/restored by applications. To simplify our
internal handling, put all affected state into a separate object.
Especially with alternate screen buffers, this will simplify our code
significantly.
src/libsystemd-terminal/term-internal.h
src/libsystemd-terminal/term-screen.c