]> git.neil.brown.name Git - edlib.git/commit
renderline: change render-line:measure to return the cursor attributes.
authorNeilBrown <neil@brown.name>
Sat, 5 Aug 2023 09:00:52 +0000 (19:00 +1000)
committerNeilBrown <neil@brown.name>
Sun, 6 Aug 2023 00:09:01 +0000 (10:09 +1000)
commit3ca0086c9d96e8fdf7bf3548e57abe24eefd2feb
tree62c3c301b2dc8a47e6bf6ba6ddf3ff6ae55a51e2
parent9d6f411aff45b5c4763c230164b83beb9a8ced05
renderline: change render-line:measure to return the cursor attributes.

Rather than saving the attributes at the cursor to be returned later,
return them directly from render-line:measure.

Signed-off-by: NeilBrown <neil@brown.name>
lib-renderline.c
render-lines.c