query pixel size from matched font

Sorry for another duplicated mail. I found the patch is malformed
significantly. I've been away from my laptop for a while, so I'm quite
unfamiliar with the settings on this system...
Fix truecolor escapes, when both bg and fg are set

for example
echo -e "\e[48;2;255;0;0m\e[38;2;0;0;255m test "
should render on red bg with blue fg

also now elinks works correctly when using 'truecolor' option
in preferences

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Adapt to new wld API

We now just use a single buffer. Although wld does provide surfaces to
keep track of buffers (including release events and damage), this just
adds unnecessary complexity (and it isn't so terrible if the screen is
updated partially through a redraw).
Mark lines with cursor as dirty when moving cursor

This way, they will still get redrawn, and the dirty flags represent the
entire screen (and therefore can be used to report damage to the
compositor).
Report damaged region to compositor based on term.dirty
Remove debug print statement
Merge remote-tracking branch 'origin/master' into wayland

Conflicts:
	st.c