pty: set "TERM" via helper function instead of kmscon_conf
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 26 Sep 2012 17:25:35 +0000 (19:25 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 26 Sep 2012 17:25:35 +0000 (19:25 +0200)
commit9c48153e300aee6170e2d6b1211066bdc2c0c227
treecaf504490941ce3dc33dcf3919ed4037d81d5e18
parenta7f871dcfb95745da02a8b4f107bd6ebe040c8e6
pty: set "TERM" via helper function instead of kmscon_conf

Instead of accessing global state, we now set the TERM value via a helper
function. This is needed to make the pty layer independent of kmscon.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/pty.c
src/pty.h
src/terminal.c