chiark / gitweb /
terminal: add helpers to retrieve page dimensions
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 1 Oct 2014 09:29:09 +0000 (11:29 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 2 Oct 2014 06:40:43 +0000 (08:40 +0200)
commitdda57d9143644d39091207b287f142f91f55d0ad
tree93991e28537dc9790c57f7b8604321bd6adf1051
parenta30f1425133d2b64a1c3f0113a710528872a3cbb
terminal: add helpers to retrieve page dimensions

Allow term users to retrieve the page dimensions of a terminal screen.
This is needed to properly calculate the grid dimensions when rendering.
src/libsystemd-terminal/term-screen.c
src/libsystemd-terminal/term.h