Xinqi Bao's Git

Remove x.c dependency on term
authorDevin J. Pohly <[email protected]>
Sat, 24 Feb 2018 21:32:48 +0000 (15:32 -0600)
committerDevin J. Pohly <[email protected]>
Mon, 26 Feb 2018 03:56:26 +0000 (21:56 -0600)
The xinit function only needs to the rows/cols, so pass those in rather
than accessing term directly.  With a bit of arithmetic, we are able to
avoid the need for term.row and term.col in x2col, y2row, and
xdrawglyphfontspecs as well, completing the removal.

Term is now fully internal to st.c.

Signed-off-by: Devin J. Pohly <[email protected]>

No differences found