tsm: screen: implement selection extraction
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 7 Oct 2012 13:05:15 +0000 (15:05 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 7 Oct 2012 13:07:47 +0000 (15:07 +0200)
commit3ecd09ddd30e2139b437d10ba7ad66daeb4ba89e
tree4bea2cd58a4a0e18c755ed6159a36b1893bebbc0
parent742acfa093c0edf1c478f6ddc64fc883bf9f12f1
tsm: screen: implement selection extraction

This adds a new helper that returns the UTF8 encoded data of the selected
parts in the tsm-screen object.

There is still much to do and it isn't a nice solution. However, it's a
proof-of-concept and works for now so we can just keep it.

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